Title :
Models are code too: Near-miss clone detection for Simulink models
Author :
Alalfi, Manar H. ; Cordy, James R. ; Dean, Thomas R. ; Stephan, Matthew ; Stevenson, Andrew
Author_Institution :
Sch. of Comput., Queen´s Univ., Kingston, ON, Canada
Abstract :
While graph-based techniques show good results in finding exactly similar subgraphs in graphical models, they have great difficulty in finding near-miss matches. Text-based clone detectors, on the other hand, do very well with near-miss matching in source code. In this paper we introduce SIMONE, an adaptation of the mature text-based code clone detector NICAD to the efficient identification of structurally meaningful near-miss subsystem clones in graphical models. By transforming graph-based models to normalized text form, SIMONE extends NICAD to identify near-miss subsystem clones in Simulink models, uncovering important model similarities that are difficult to find in any other way.
Keywords :
software metrics; NICAD; SIMONE; Simulink clone detector; Simulink models; graph-based models; graph-based techniques; graphical models; model similarities; near-miss clone detection; near-miss matches; near-miss subsystem clones; source code; subgraphs; text-based clone detectors; Adaptation models; Automotive engineering; Cloning; Detectors; Grammar; Software packages; Unified modeling language;
Conference_Titel :
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location :
Trento
Print_ISBN :
978-1-4673-2313-0
DOI :
10.1109/ICSM.2012.6405285