An analysis of code clone characteristics in use of APIs

In this paper, we aim to find out code clones to appear in use of certain APIs, and analyze characteristics of them. As the target of analysis, we chose a web application which certain A company developed. We analysed Java source codes of the web application and we can find out code clones in use of APIs and frameworks such as servlet, web service API, xml sax parser, and xml dom parser. Moreover, we recognized those code clones have unique characteristics of APIs.

[1]  Michael W. Godfrey,et al.  Aiding comprehension of cloning through categorization , 2004, Proceedings. 7th International Workshop on Principles of Software Evolution, 2004..

[2]  Magdalena Balazinska,et al.  Advanced clone-analysis to support object-oriented system refactoring , 2000, Proceedings Seventh Working Conference on Reverse Engineering.

[3]  Shinji Kusumoto,et al.  CCFinder: A Multilinguistic Token-Based Code Clone Detection System for Large Scale Source Code , 2002, IEEE Trans. Software Eng..

[4]  Magdalena Balazinska,et al.  Measuring clone based reengineering opportunities , 1999, Proceedings Sixth International Software Metrics Symposium (Cat. No.PR00403).

[5]  Steven J. DeRose,et al.  XML Path Language (XPath) Version 1.0 , 1999 .

[6]  Michael W. Godfrey,et al.  Improved tool support for the investigation of duplication in software , 2005, 21st IEEE International Conference on Software Maintenance (ICSM'05).

[7]  Michael W. Godfrey,et al.  "Cloning Considered Harmful" Considered Harmful , 2006, 2006 13th Working Conference on Reverse Engineering.

[8]  Brenda S. Baker,et al.  A Program for Identifying Duplicated Code , 1992 .