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

preview-18
  • An Empirical Study for the Impact of Maintenance Activities in Clone Evolution Book Detail

  • Author : Lionel Marks
  • Release Date : 2009
  • Publisher :
  • Genre :
  • Pages : 266
  • ISBN 13 :
  • File Size : 37,37 MB

An Empirical Study for the Impact of Maintenance Activities in Clone Evolution by Lionel Marks PDF Summary

Book Description: 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.

Disclaimer: www.yourbookbest.com does not own An Empirical Study for the Impact of Maintenance Activities in Clone Evolution books pdf, neither created or scanned. We just provide the link that is already available on the internet, public domain and in Google Drive. If any way it violates the law or has any issues, then kindly mail us via contact us page to request the removal of the link.

Code Clone Analysis

Code Clone Analysis

File Size : 8,8 MB
Total View : 7592 Views
DOWNLOAD

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