Cloned code: stable code. Issue 10 (27th March 2012)
- Record Type:
- Journal Article
- Title:
- Cloned code: stable code. Issue 10 (27th March 2012)
- Main Title:
- Cloned code: stable code
- Authors:
- Harder, Jan
Göde, Nils - Other Names:
- Mens Tom guestEditor.
- Abstract:
- SUMMARY: Code clones are said to threaten the maintainability of a system—especially when the system evolves and source code is changed. Whether clones increase maintenance effort can be analyzed by comparing the stability of cloned code with the stability of non‐cloned code. A previous study found that cloned code is even more stable than non‐cloned code and, thus, may require less maintenance effort—contrary to the frequently voiced assumption. In this paper, we partially replicate this study using a more fine‐grained measurement. We furthermore extend the study to subject systems from academia and industry and evaluate the effect of different clone detection parameters on clone stability and how the stability changes over time. In general, we were able to confirm the findings of the previous study. Nevertheless, our results also show that clone stability varies depending on the clones' characteristics, the corresponding project environment, and over time. Copyright © 2012 John Wiley & Sons, Ltd. Abstract : Redundancies in source code—clones—are believed to complicate software maintenance. This exploratory case study analyzes the stability of source code clones—that is, how often and how much code clones change. In general, redundancies in open‐source, industrial, and academic software systems were found to change less than the non‐cloned code. This contradicts the frequently voiced assumption that clones increase maintenance costs because they change more often than otherSUMMARY: Code clones are said to threaten the maintainability of a system—especially when the system evolves and source code is changed. Whether clones increase maintenance effort can be analyzed by comparing the stability of cloned code with the stability of non‐cloned code. A previous study found that cloned code is even more stable than non‐cloned code and, thus, may require less maintenance effort—contrary to the frequently voiced assumption. In this paper, we partially replicate this study using a more fine‐grained measurement. We furthermore extend the study to subject systems from academia and industry and evaluate the effect of different clone detection parameters on clone stability and how the stability changes over time. In general, we were able to confirm the findings of the previous study. Nevertheless, our results also show that clone stability varies depending on the clones' characteristics, the corresponding project environment, and over time. Copyright © 2012 John Wiley & Sons, Ltd. Abstract : Redundancies in source code—clones—are believed to complicate software maintenance. This exploratory case study analyzes the stability of source code clones—that is, how often and how much code clones change. In general, redundancies in open‐source, industrial, and academic software systems were found to change less than the non‐cloned code. This contradicts the frequently voiced assumption that clones increase maintenance costs because they change more often than other code. … (more)
- Is Part Of:
- Journal of software. Volume 25:Issue 10(2013)
- Journal:
- Journal of software
- Issue:
- Volume 25:Issue 10(2013)
- Issue Display:
- Volume 25, Issue 10 (2013)
- Year:
- 2013
- Volume:
- 25
- Issue:
- 10
- Issue Sort Value:
- 2013-0025-0010-0000
- Page Start:
- 1063
- Page End:
- 1088
- Publication Date:
- 2012-03-27
- Subjects:
- code clones -- stability -- experimentation
Software engineering -- Periodicals
Computer software -- Development -- Periodicals
Software maintenance -- Periodicals
005.1 - Journal URLs:
- http://onlinelibrary.wiley.com/journal/10.1002/(ISSN)2047-7481 ↗
http://onlinelibrary.wiley.com/ ↗ - DOI:
- 10.1002/smr.1551 ↗
- Languages:
- English
- ISSNs:
- 2047-7473
- Deposit Type:
- Legaldeposit
- View Content:
- Available online (eLD content is only available in our Reading Rooms) ↗
- Physical Locations:
- British Library DSC - BLDSS-3PM
British Library HMNTS - ELD Digital store - Ingest File:
- 1855.xml