DocumentCode :
588593
Title :
Things structural clones tell that simple clones don´t
Author :
Basit, H.A. ; Ali, Usman ; Haque, Showera ; Jarzabek, Stan
Author_Institution :
Sch. of Sci. & Eng., Lahore Univ. of Manage. Sci., Lahore, Pakistan
fYear :
2012
fDate :
23-28 Sept. 2012
Firstpage :
275
Lastpage :
284
Abstract :
In previous work, we described a technique for detecting design-level similar program structures (structural clones) formed from recurring configurations of similar code fragments (simple clones). In this paper, we analyze in detail how frequently these structural clones occur in software systems and how structural clone analysis extends the benefits of analysis based on simple clones only. Our case study of 11 open source systems revealed that over 50% of simple clones are captured by structural clones that often correspond to meaningful design or application domain concepts. Because of their larger size, it is easier for programmers to perceive the similarity situation in a system from structural clone perspective rather than from simple clone perspective only. We also discuss the contribution of structural clone detection towards program understanding, design recovery, maintenance, and refactoring using examples from the case study systems.
Keywords :
reverse engineering; software maintenance; application domain concept; code fragment; design recovery; design-level similar program structure; open source system; program maintenance; program refactoring; program understanding; recurring configuration; simple clone; software system; structural clone detection; Cloning; Conferences; Containers; Educational institutions; FCC; Software maintenance; Software systems; clone analysis; code clones; design recovery; high level similarities; program understanding; refactoring;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Software Maintenance (ICSM), 2012 28th IEEE International Conference on
Conference_Location :
Trento
ISSN :
1063-6773
Print_ISBN :
978-1-4673-2313-0
Type :
conf
DOI :
10.1109/ICSM.2012.6405283
Filename :
6405283
Link To Document :
بازگشت