2011•University of Michigan Library RepositoryOpen access

Cloning in Max/MSP Patches

Nicolas Gold, Jens Krinke, Mark Harman, David Binkley

Open full text 6 citations

Abstract

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.

Open-access reader

About this research paper

What this paper is about

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.

Why it matters

OpenAlex reports 6 citations for this work. Citation counts describe recorded attention and do not establish research quality.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

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)

Related papers

Back to paper searchBrowse research topicsOriginal source
Cloning in Max/MSP Patches — Research Paper | ScholarLens