Classifying Obstructive and Nonobstructive Code Clones of Type I Using Simplified Classification Scheme: A Case Study. (21st December 2015)
- Record Type:
- Journal Article
- Title:
- Classifying Obstructive and Nonobstructive Code Clones of Type I Using Simplified Classification Scheme: A Case Study. (21st December 2015)
- Main Title:
- Classifying Obstructive and Nonobstructive Code Clones of Type I Using Simplified Classification Scheme: A Case Study
- Authors:
- Staron, Miroslaw
Meding, Wilhelm
Eriksson, Peter
Nilsson, Jimmy
Lövgren, Nils
Österström, Per - Other Names:
- Kraft Nicholas A. Academic Editor.
- Abstract:
- Abstract : 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, which handle mobile data traffic. 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 classifying 96% of 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 and can jeopardize the quality of the product if left unmanaged.
- Is Part Of:
- Advances in software engineering. Volume 2015(2015)
- Journal:
- Advances in software engineering
- Issue:
- Volume 2015(2015)
- Issue Display:
- Volume 2015, Issue 2015 (2015)
- Year:
- 2015
- Volume:
- 2015
- Issue:
- 2015
- Issue Sort Value:
- 2015-2015-2015-0000
- Page Start:
- Page End:
- Publication Date:
- 2015-12-21
- Subjects:
- Software engineering -- Periodicals
Software engineering
Periodicals
Electronic journals
005.1 - Journal URLs:
- https://www.hindawi.com/journals/ase ↗
- DOI:
- 10.1155/2015/829389 ↗
- Languages:
- English
- ISSNs:
- 1687-8655
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library HMNTS - ELD Digital store
- Ingest File:
- 10473.xml