Loading [MathJax]/extensions/MathMenu.js
Cloning: The need to understand developer intent | IEEE Conference Publication | IEEE Xplore

Cloning: The need to understand developer intent


Abstract:

Many researchers have studied the positive and negative effects of code clones on software quality. However, little is known about the intent and rationale of the develop...Show More

Abstract:

Many researchers have studied the positive and negative effects of code clones on software quality. However, little is known about the intent and rationale of the developers who clone code. Studies have shown that reusing code is a common practice for developers while programming, but there are many possible motivations for and approaches to code reuse. Although we have some ideas about the intentions of developers when cloning code, comprehensive research is needed to gather conclusive evidence about these intentions and categorize clones based on them. In this paper we argue that to provide developers with better clone management tools, we need to interview developers to better understand their intentions when managing cloned code.
Date of Conference: 19-19 May 2013
Date Added to IEEE Xplore: 30 September 2013
Electronic ISBN:978-1-4673-6445-4
Conference Location: San Francisco, CA, USA

I. Introduction

Studies indicate that software maintenance costs can account for up to 90% of the total software lifecycle costs [2], [4]. Some portion of these maintenance costs are the result of using programming practices like code cloning in inappropriate situations. Code cloning is commonly used by programmers to save time and effort over writing new code from scratch [7]. Cloning saves effort by reusing complex frameworks and by replicating design patterns and other high level code structures. Initially, the term code clone had a negative connotation because of the belief that cloned code required additional effort during maintenance (e.g., propagation of defects through cloning code) [8]. More recently, a number of studies indicate that code clones are not harmful to software quality [5], [6], [8], [11]. As this discussion indicates, much of the research about code clones has focused on understanding and evaluating their effects during maintenance. By contrast, little research has focused on understanding developers’ rationale for cloning code during development.

Contact IEEE to Subscribe

References

References is not available for this document.