Powered by OpenAIRE graph
Found an issue? Give us feedback
addClaim

This Research product is the result of merged Research products in OpenAIRE.

You have already added 0 works in your ORCID record related to the merged Research product.

On the association between code cloning and fault-proneness: An empirical investigation

Authors: Mahmoud O. Elish;

On the association between code cloning and fault-proneness: An empirical investigation

Abstract

During software development projects, the reuse of code fragments with or without modification by copying and pasting is a common practice, which is known as code clones. It has been an arguable issue whether cloning has a harmful impact or not on software development and the quality of the produced software. This paper empirically explores the association between code clones and fault-proneness of object-oriented classes. An empirical investigation was conducted using data from more than 3000 classes in five open source software projects. It was found that classes with clones are significantly more fault-prone than the classes without clones. In addition, the classes with intra-class clones, regardless of whether they also have inter-class clones or not, were found to be significantly more fault-prone than the classes with inter-class clones only. Moreover, among the groups of classes that have only one type of clones, the group of classes with Type II clones was found to be the most fault-prone. Furthermore, the groups of classes that contain more than one type of clones where Type I is among them were found to be more fault-prone than the groups of classes with only one type of clones.

  • BIP!
    Impact byBIP!
    selected citations
    These citations are derived from selected sources.
    This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    0
    popularity
    This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
    Average
    influence
    This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
    Average
    impulse
    This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
    Average
Powered by OpenAIRE graph
Found an issue? Give us feedback
selected citations
These citations are derived from selected sources.
This is an alternative to the "Influence" indicator, which also reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Citations provided by BIP!
popularity
This indicator reflects the "current" impact/attention (the "hype") of an article in the research community at large, based on the underlying citation network.
BIP!Popularity provided by BIP!
influence
This indicator reflects the overall/total impact of an article in the research community at large, based on the underlying citation network (diachronically).
BIP!Influence provided by BIP!
impulse
This indicator reflects the initial momentum of an article directly after its publication, based on the underlying citation network.
BIP!Impulse provided by BIP!
0
Average
Average
Average
Upload OA version
Are you the author of this publication? Upload your Open Access version to Zenodo!
It’s fast and easy, just two clicks!