Method and implementation for investigating code clones in a software system

Autor: Yoshiki Higo, Katsuro Inoue, Shinji Kusumoto, Toshihiro Kamiya
Rok vydání: 2007
Předmět:
Zdroj: Information and Software Technology. 49:985-998
ISSN: 0950-5849
DOI: 10.1016/j.infsof.2006.10.005
Popis: Maintaining software systems is becoming more difficult as the size and complexity of software increase. One factor that complicates software maintenance is the presence of code clones. A code clone is a code fragment that has identical or similar code fragments to it in the source code. Code clones are introduced for various reasons such as reusing code by 'copy and paste'. If modifying a code clone with many similar code fragments, we must consider whether to modify each of them. Especially for large-scale software, such a process is very complicated and expensive. In this paper, we propose methods of visualizing and featuring code clones to support their understanding in large-scale software. The methods have been implemented as a tool called Gemini, which has applied to an open source software system. Application results show the usefulness and capability of our system.
Databáze: OpenAIRE