Title :
The curse of copy&paste — Cloning in requirements specifications
Author :
Domann, Christoph ; Juergens, Elmar ; Streit, Jonathan
Author_Institution :
Itestra GmbH, Kaufering, Germany
Abstract :
Cloning in source code is a well known quality defect that negatively affects software maintenance. In contrast, little is known about cloning in requirements specifications. We present a study on cloning in 11 real-world requirements specifications comprising 2,500 pages. For specification clone detection, an existing code clone detection tool is adapted and its precision analyzed. The study shows that a considerable amount of cloning exists, although the large variation between specifications suggests that some authors manage to avoid cloning. Examples of frequent types of clones are given and the negative consequences of cloning, particularly the obliteration of commonalities and variations, are discussed.
Keywords :
formal specification; software maintenance; copy & paste; requirements specifications; software maintenance; source code; specification clone detection; Automotive engineering; Cloning; Companies; Data mining; Detection algorithms; History; Information systems; Inspection; Software engineering; Software maintenance;
Conference_Titel :
Empirical Software Engineering and Measurement, 2009. ESEM 2009. 3rd International Symposium on
Conference_Location :
Lake Buena Vista, FL
Print_ISBN :
978-1-4244-4842-5
Electronic_ISBN :
1938-6451
DOI :
10.1109/ESEM.2009.5315992