On the relationship of inconsistent software clones and faults : an empirical study

dc.contributor.authorWagner, Stefande
dc.contributor.authorAbdulkhaleq, Asimde
dc.contributor.authorKaya, Kamerde
dc.contributor.authorPaar, Alexanderde
dc.date.accessioned2016-02-11de
dc.date.accessioned2016-03-31T08:02:34Z
dc.date.available2016-02-11de
dc.date.available2016-03-31T08:02:34Z
dc.date.issued2016de
dc.date.updated2016-02-11de
dc.description.abstractBackground: Code cloning - copying and reusing pieces of source code - is a common phenomenon in software development in practice. There have been several empirical studies on the effects of cloning, but there are contradictory results regarding the connection of cloning and faults. Objective: Our aim is to clarify the relationship between code clones and faults. In particular, we focus on inconsistent (or type-3) clones in this work. Method: We conducted a case study with TWT GmbH where we detected the code clones in three Java systems, set them into relation to information from issue tracking and version control and interviewed three key developers. Results: Of the type-3 clones, 17 % contain faults. Developers modified most of the type-3 clones simultaneously and thereby fixed half of the faults in type-3 clones consistently. Type-2 clones with faults all evolved to fixed type-3 clones. Clone length is only weakly correlated with faultiness. Conclusion: There are indications that the developers in two cases have been aware of clones. It might be a reason for the weak relationship between type-3 clones and faults. Hence, it seems important to keep developers aware of clones, potentially with new tool support. Future studies need to investigate if the rate of faults in type-3 clones justifies using them as cues in defect detection.en
dc.identifier.other455692270de
dc.identifier.urihttp://nbn-resolving.de/urn:nbn:de:bsz:93-opus-105262de
dc.identifier.urihttp://elib.uni-stuttgart.de/handle/11682/3640
dc.identifier.urihttp://dx.doi.org/10.18419/opus-3623
dc.language.isoende
dc.rightsinfo:eu-repo/semantics/openAccessde
dc.subject.classificationStatische Analyse , Fallstudiede
dc.subject.ddc004de
dc.subject.otherSoftwareklone , Softwarefehlerde
dc.subject.otherSoftware Clones , Software Faultsen
dc.titleOn the relationship of inconsistent software clones and faults : an empirical studyen
dc.typeconferenceObjectde
ubs.bemerkung.externCopyright IEEEde
ubs.fakultaetFakultät Informatik, Elektrotechnik und Informationstechnikde
ubs.fakultaetFakultätsübergreifend / Sonstige Einrichtungde
ubs.institutInstitut für Softwaretechnologiede
ubs.institutSonstige Einrichtungde
ubs.opusid10526de
ubs.publikation.sourceSANER 2016 - 23rd ICCC International Conference on Software Analysis, Evolution, and Reengineeringde
ubs.publikation.typKonferenzbeitragde

Files

Original bundle

Now showing 1 - 1 of 1
Thumbnail Image
Name:
Inconsistent_clones_and_Defects_in_software_An_Empirical_Study.pdf
Size:
253.63 KB
Format:
Adobe Portable Document Format

License bundle

Now showing 1 - 1 of 1
No Thumbnail Available
Name:
license.txt
Size:
1021 B
Format:
Plain Text
Description: