Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.5555/2820282.2820317acmconferencesArticle/Chapter ViewAbstractPublication PagesicseConference Proceedingsconference-collections
research-article

The last line effect

Published: 16 May 2015 Publication History

Abstract

Micro-clones are tiny duplicated pieces of code; they typically comprise only a few statements or lines. In this paper, we expose the "last line effect," the phenomenon that the last line or statement in a micro-clone is much more likely to contain an error than the previous lines or statements. We do this by analyzing 208 open source projects and reporting on 202 faulty micro-clones.

References

[1]
M. Kim, L. Bergman, T. Lau, and D. Notkin, "An ethnographic study of copy and paste programming practices in oopl," in Proc. Int'l Symp. on Empirical Software Engineering (ISESE). IEEE, 2004, pp. 83--92.
[2]
S. Bellon, R. Koschke, G. Antoniol, J. Krinke, and E. Merlo, "Comparison and evaluation of clone detection tools," IEEE Transactions on Software Engineering, vol. 33, no. 9, pp. 577--591, 2007.
[3]
C. Roy, J. Cordy, and R. Koschke, "Comparison and evaluation of code clone detection techniques and tools: A qualitative approach," Science of Computer Programming, vol. 74, no. 7, pp. 470--495, 2009.
[4]
R. Koschke, "Survey of research on software clones," in Duplication, Redundancy, and Similarity in Software, 2007.
[5]
E. Juergens, F. Deissenboeck, B. Hummel, and S. Wagner, "Do code clones matter?" in Proceedings of the International Conference on Software Engineering (ICSE). IEEE, 2009, pp. 485--495.
[6]
J. Siegmund, C. Kästner, S. Apel, C. Parnin, A. Bethmann, T. Leich, G. Saake, and A. Brechmann, "Understanding understanding source code with functional magnetic resonance imaging," in Proc. Int'l Conference on Software Engineering (ICSE). ACM, 2014, pp. 378--389.
[7]
L. Meyerovich and A. Rabkin, "Empirical analysis of programming language adoption," in ACM SIGPLAN Notices, vol. 48, no. 10. ACM, 2013, pp. 1--18.

Cited By

View all
  • (2019)Comparing bug replication in regular and micro code clonesProceedings of the 27th International Conference on Program Comprehension10.1109/ICPC.2019.00022(81-92)Online publication date: 25-May-2019
  • (2019)Model clone detection for rule-based model transformation languagesSoftware and Systems Modeling (SoSyM)10.1007/s10270-017-0625-618:2(995-1016)Online publication date: 1-Apr-2019
  • (2018)Toward an empirical theory of feedback-driven developmentProceedings of the 40th International Conference on Software Engineering: Companion Proceeedings10.1145/3183440.3190332(503-505)Online publication date: 27-May-2018
  • Show More Cited By

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Conferences
ICPC '15: Proceedings of the 2015 IEEE 23rd International Conference on Program Comprehension
May 2015
325 pages

Sponsors

Publisher

IEEE Press

Publication History

Published: 16 May 2015

Check for updates

Qualifiers

  • Research-article

Conference

ICSE '15
Sponsor:

Upcoming Conference

ICSE 2025

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)0
  • Downloads (Last 6 weeks)0
Reflects downloads up to 23 Dec 2024

Other Metrics

Citations

Cited By

View all
  • (2019)Comparing bug replication in regular and micro code clonesProceedings of the 27th International Conference on Program Comprehension10.1109/ICPC.2019.00022(81-92)Online publication date: 25-May-2019
  • (2019)Model clone detection for rule-based model transformation languagesSoftware and Systems Modeling (SoSyM)10.1007/s10270-017-0625-618:2(995-1016)Online publication date: 1-Apr-2019
  • (2018)Toward an empirical theory of feedback-driven developmentProceedings of the 40th International Conference on Software Engineering: Companion Proceeedings10.1145/3183440.3190332(503-505)Online publication date: 27-May-2018
  • (2016)Clone Detection for Graph-Based Model Transformation LanguagesProceedings of the 9th International Conference on Theory and Practice of Model Transformations - Volume 976510.1007/978-3-319-42064-6_13(191-206)Online publication date: 4-Jul-2016

View Options

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media