Cloning in Max/MSP Patches
Nicolas Gold, Jens Krinke, Mark Harman, David Binkley
Abstract
Open-access reader
Nicolas Gold, Jens Krinke, Mark Harman, David Binkley
Abstract
Open-access reader
Max/MSP is widely used for developing applications in music and art yet less attention has been given to supporting developers working in this language than for more traditional languages such as Java.Technologies such as code-completion, reuse support, and refactoring may be helpful but are largely unexplored.Such methods rely on detecting similarities between language elements.This paper presents a method for detecting similarities between Max/MSP patches (and subpatches) based on clone detection techniques.The method has been implemented and a proof-of-concept evaluation has been undertaken by applying it to the set of Max tutorial patches supplied with Max/MSP 5.The results show that significant cloning takes place both within and outwith an individual patch and that, as clone constraints are relaxed, the number of clone pairs increases.
OpenAlex reports 6 citations for this work. Citation counts describe recorded attention and do not establish research quality.
A contribution statement is not available in the OpenAlex record.
Method details are not available in the OpenAlex metadata.
Findings are not separately available in the OpenAlex metadata.
Limitations are not available in the OpenAlex metadata.
Application details are not available in the OpenAlex metadata.
Max/MSP is widely used for developing applications in music and art yet less attention has been given to supporting developers working in this language than for more traditional languages such as Java.Technologies such as code-completion, reuse support, and refactoring may be helpful but are largely unexplored.Such methods rely on detecting similarities between language elements.This paper presents a method for detecting similarities between Max/MSP patches (and subpatches) based on clone detection techniques.The method has been implemented and a proof-of-concept evaluation has been undertaken by applying it to the set of Max tutorial patches supplied with Max/MSP 5.The results show that significant cloning takes place both within and outwith an individual patch and that, as clone constraints are relaxed, the number of clone pairs increases.
Key concepts: Code refactoring, clone (Java method), Cloning (programming), Java, Computer science, Programming language, Reuse, Set (abstract data type)