Search: id:"swepub:oai:gup.ub.gu.se/226184" >
Classifying obstruc...
Classifying obstructive and non-obstructive code clones of Type I using simplified classification scheme–A Case Study
-
- Staron, Miroslaw, 1977 (author)
- Gothenburg University,Göteborgs universitet,Institutionen för data- och informationsteknik (GU),Department of Computer Science and Engineering (GU)
-
Meding, Wilhelm (author)
-
Eriksson, Peter, 1983 (author)
-
show more...
-
Nilsson, Jimmy, 1975 (author)
-
Lövgren, Nils, 1975 (author)
-
Österström, Per, 1975 (author)
-
show less...
-
(creator_code:org_t)
- Hindawi Limited, 2015
- 2015
- English.
-
In: Advances in Software Engineering. - : Hindawi Limited. - 1687-8655 .- 1687-8663.
- Related links:
-
http://downloads.hin...
-
show more...
-
https://gup.ub.gu.se...
-
https://doi.org/10.1...
-
show less...
Abstract
Subject headings
Close
- Code cloning is a part of many commercial and open-source development products. Multiple methods for detecting code clones have been developed and finding the clones is often used in modern quality assurance tools in industry. There is no consensus whether the detected clones are negative for the product and therefore the detected clones are often left unmanaged in the product code base. In this paper we investigate how obstructive code clones of type I (duplicated exact code fragments) are in large software systems from the perspective of the quality of the product after the release. We conduct a case study at Ericsson and three of its large products, that handle mobile data traffic. We use a newly developed classification scheme which categorizes code clones according to their potential obstructiveness. We show how to use automated analogy-based classification to decrease the classification effort required to determine whether a clone pair should be refactored or remain untouched. The automated method allows to classify 96% of the Type I clones (both algorithms and data declarations) leaving the remaining 4% for the manual classification. The results show that cloning is common in the studied commercial software, but that only 1% of these clones are potentially obstructive, i.e. can jeopardize the quality of the product if left unmanaged.
Subject headings
- NATURVETENSKAP -- Data- och informationsvetenskap -- Programvaruteknik (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences -- Software Engineering (hsv//eng)
- NATURVETENSKAP -- Data- och informationsvetenskap (hsv//swe)
- NATURAL SCIENCES -- Computer and Information Sciences (hsv//eng)
Publication and Content Type
- ref (subject category)
- art (subject category)
Find in a library
To the university's database
- By the author/editor
-
Staron, Miroslaw ...
-
Meding, Wilhelm
-
Eriksson, Peter, ...
-
Nilsson, Jimmy, ...
-
Lövgren, Nils, 1 ...
-
Österström, Per, ...
- About the subject
-
- NATURAL SCIENCES
-
NATURAL SCIENCES
-
and Computer and Inf ...
-
and Software Enginee ...
-
- NATURAL SCIENCES
-
NATURAL SCIENCES
-
and Computer and Inf ...
- Articles in the publication
-
Advances in Soft ...
- By the university
-
University of Gothenburg