On the relationship of inconsistent software clones and faults : an empirical study
dc.contributor.author | Wagner, Stefan | de |
dc.contributor.author | Abdulkhaleq, Asim | de |
dc.contributor.author | Kaya, Kamer | de |
dc.contributor.author | Paar, Alexander | de |
dc.date.accessioned | 2016-02-11 | de |
dc.date.accessioned | 2016-03-31T08:02:34Z | |
dc.date.available | 2016-02-11 | de |
dc.date.available | 2016-03-31T08:02:34Z | |
dc.date.issued | 2016 | de |
dc.date.updated | 2016-02-11 | de |
dc.description.abstract | Background: 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.other | 455692270 | de |
dc.identifier.uri | http://nbn-resolving.de/urn:nbn:de:bsz:93-opus-105262 | de |
dc.identifier.uri | http://elib.uni-stuttgart.de/handle/11682/3640 | |
dc.identifier.uri | http://dx.doi.org/10.18419/opus-3623 | |
dc.language.iso | en | de |
dc.rights | info:eu-repo/semantics/openAccess | de |
dc.subject.classification | Statische Analyse , Fallstudie | de |
dc.subject.ddc | 004 | de |
dc.subject.other | Softwareklone , Softwarefehler | de |
dc.subject.other | Software Clones , Software Faults | en |
dc.title | On the relationship of inconsistent software clones and faults : an empirical study | en |
dc.type | conferenceObject | de |
ubs.bemerkung.extern | Copyright IEEE | de |
ubs.fakultaet | Fakultät Informatik, Elektrotechnik und Informationstechnik | de |
ubs.fakultaet | Fakultätsübergreifend / Sonstige Einrichtung | de |
ubs.institut | Institut für Softwaretechnologie | de |
ubs.institut | Sonstige Einrichtung | de |
ubs.opusid | 10526 | de |
ubs.publikation.source | SANER 2016 - 23rd ICCC International Conference on Software Analysis, Evolution, and Reengineering | de |
ubs.publikation.typ | Konferenzbeitrag | de |