Balint, Mihai; Gîrba, Tudor; Marinescu, Radu (2006). How Developers Copy. In: Proceedings of International Conference on Program Comprehension (ICPC 2006) (pp. 56-68). Verlag fehlt 10.1109/ICPC.2006.25
Text
Bali06aHowDevelopersCopy.pdf - Published Version Restricted to registered users only Available under License Publisher holds Copyright. Download (285kB) |
Copy-paste programming is dangerous as it may lead to hidden dependencies between different parts of the system. Modifying clones is not always straight forward, because we might not know all the places that need modification. This is even more of a problem when several developers need to know about how to change the clones. In this paper, we correlate the code clones with the time of the modification and with the developer that performed the modification to detect patterns of how developers copy from one another. We develop a visualization, named Clone Evolution View, to represent the evolution of the duplicated code. We show the relevance of our approach on several large case studies and we distill our experience in forms of interesting copy patterns.
Item Type: |
Conference or Workshop Item (Paper) |
---|---|
Division/Institute: |
08 Faculty of Science > Institute of Computer Science (INF) 08 Faculty of Science > Institute of Computer Science (INF) > Software Composition Group (SCG) [discontinued] |
UniBE Contributor: |
Girba, Tudor Adrian |
Subjects: |
000 Computer science, knowledge & systems 500 Science > 510 Mathematics |
Publisher: |
Verlag fehlt |
Language: |
English |
Submitter: |
Factscience Import |
Date Deposited: |
04 Oct 2013 14:47 |
Last Modified: |
05 Dec 2022 14:14 |
Publisher DOI: |
10.1109/ICPC.2006.25 |
Web of Science ID: |
000239773400006 |
BORIS DOI: |
10.7892/boris.19403 |
URI: |
https://boris.unibe.ch/id/eprint/19403 (FactScience: 2006) |