An empirical study on how project context impacts on code cloning. Issue 12 (5th October 2018)
- Record Type:
- Journal Article
- Title:
- An empirical study on how project context impacts on code cloning. Issue 12 (5th October 2018)
- Main Title:
- An empirical study on how project context impacts on code cloning
- Authors:
- Perez‐Castillo, Ricardo
Piattini, Mario - Abstract:
- Abstract: Code cloning can seriously affect software quality. Code clones are various fragments of syntactically or semantically equivalent code. Some authors argue that code clones have a negative impact on maintainability and understandability, since clones propagate defects and make it mandatory to pay attention to several copies. However, other authors believe clones are not necessarily bad, since self‐admitted clones favor system stability and allow developers to move projects forward. Although some root causes and effects of cloning have been widely studied, there is not much relevant work analyzing how certain projects context factors impact on code cloning. This work presents an empirical validation of six open source projects by considering certain factors from Git repositories measured throughout a total of 70 releases for the 6 systems. The factors analyzed were the number of commits and committers per release, the average size of the commits and the size of the system in each release. The main conclusion obtained from the study is that, while the number of commits and committers and the system size do not significantly affect cloning, larger commits lead to a higher cloning ratio. These insights contribute to predicting and preventing code cloning, thus enabling a software quality improvement.
- Is Part Of:
- Journal of software. Volume 30:Issue 12(2018)
- Journal:
- Journal of software
- Issue:
- Volume 30:Issue 12(2018)
- Issue Display:
- Volume 30, Issue 12 (2018)
- Year:
- 2018
- Volume:
- 30
- Issue:
- 12
- Issue Sort Value:
- 2018-0030-0012-0000
- Page Start:
- n/a
- Page End:
- n/a
- Publication Date:
- 2018-10-05
- Subjects:
- code cloning -- development context -- empirical study -- git
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.2115 ↗
- 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:
- 9144.xml