An Empirical Study for the Impact of Maintenance Activities in Clone Evolution

An Empirical Study for the Impact of Maintenance Activities in Clone Evolution
Author :
Publisher :
Total Pages : 266
Release :
ISBN-10 : OCLC:844305268
ISBN-13 :
Rating : 4/5 ( Downloads)

Book Synopsis An Empirical Study for the Impact of Maintenance Activities in Clone Evolution by : Lionel Marks

Download or read book An Empirical Study for the Impact of Maintenance Activities in Clone Evolution written by Lionel Marks and published by . This book was released on 2009 with total page 266 pages. Available in PDF, EPUB and Kindle. Book excerpt: Code clones are duplicated code fragments that are copied to re-use functionality and speed up development. However, due to the duplicate nature of code clones, inconsistent updates can lead to bugs in the software system. Existing research investigates the inconsistent updates through analysis of the updates to code clones and the bug fixes used to fix the inconsistent updates. We extend the work by investigating other factors that affect clone evolution, such as the number of developers. On two levels of analysis, the method and clone class level, we conduct an empirical study on clone evolution. We analyze the factors affecting bug fixes and co-change (i.e. update cloned methods at the same time) using our new metrics. Our metrics are related to the developers, code complexity, and stages of development. We use these metrics to find ways to improve the maintenance of cloned code. We discover that one way to improve maintenance of code clones is the decrease of code complexity. We find that increased code complexity leads to a decrease in co-change, which can lead to bugs in the software. We perform our study on 6 applications. To maximize the number of clones detected, we use two existing code clone detection tools: SimScan and Simian. SimScan was used to find clones in 5 of the applications due to its versatility in finding code clones. Simian was used to detect clones due to its reliability to find code clones regardless of language or compilation problems. To analyze and determine the significance of the metrics, we use the R Statistical Toolkit.


An Empirical Study for the Impact of Maintenance Activities in Clone Evolution Related Books

An Empirical Study for the Impact of Maintenance Activities in Clone Evolution
Language: en
Pages: 266
Authors: Lionel Marks
Categories:
Type: BOOK - Published: 2009 - Publisher:

DOWNLOAD EBOOK

Code clones are duplicated code fragments that are copied to re-use functionality and speed up development. However, due to the duplicate nature of code clones,
Code Clone Analysis
Language: en
Pages: 236
Authors: Katsuro Inoue
Categories: Computers
Type: BOOK - Published: 2021-08-03 - Publisher: Springer Nature

DOWNLOAD EBOOK

This is the first book organized around code clone analysis. To cover the broad studies of code clone analysis, this book selects past research results that are
Empirical Research towards a Relevance Assessment of Software Clones
Language: en
Pages: 270
Authors: Saman Bazrafshan
Categories: Computers
Type: BOOK - Published: 2017-06-30 - Publisher: Logos Verlag Berlin GmbH

DOWNLOAD EBOOK

Redundancies in program source code - software clones - are a common phenomenon. Although it is often claimed that software clones decrease the maintainability
Clone Evolution
Language: en
Pages: 236
Authors: Nils Göde
Categories: Computers
Type: BOOK - Published: 2011 - Publisher: Logos Verlag Berlin GmbH

DOWNLOAD EBOOK

Duplicated passages of source code - code clones - are a common property of software systems. While clones are beneficial in some situations, their presence cau
Computational Science and Its Applications – ICCSA 2017
Language: en
Pages: 764
Authors: Osvaldo Gervasi
Categories: Computers
Type: BOOK - Published: 2017-07-13 - Publisher: Springer

DOWNLOAD EBOOK

The six-volume set LNCS 10404-10409 constitutes the refereed proceedings of the 17th International Conference on Computational Science and Its Applications, ICC