ABSTRACT
Clone detector results can be better understood with tools that support visualization and facilitate in-depth analysis. In this tool demo paper we present VisCad, a comprehensive code clone analysis and visualization tool that provides such support for the near-miss hybrid clone detection tool, NiCad. Through carefully selectedmetrics and visualization techniques VisCad can guide users to explore the cloning of a system from different perspectives.
- C. Kapser and M. W. Godfrey. Improved Tool Support for the Investigation of Duplication in Software. In ICSM, pp. 305--314, 2005. Google ScholarDigital Library
- C. K. Roy and J. R. Cordy. Near-miss Function Clones in Open Source Software: An Empirical Study. Journal of Software Maintenance and Evolution 2(3): 165--189, 2010. Google ScholarDigital Library
- C. K. Roy and J. R. Cordy. NiCad: Accurate Detection of Near-Miss Intentional Clones Using Flexible Pretty-Printing and Code Normalization. In ICPC, pp. 172--181, 2008. Google ScholarDigital Library
- C. K. Roy and J. R. Cordy. A Survey on Software Clone Detection Research. Technical Report 2007-541, 115 pp., School of Computing, Queen's University, 2007.Google Scholar
- Y. Ueda, T. Kamiya, S. Kusumoto and K. Inoue. Gemini: Maintenance support environment based on code clone analysis. In METRICS, pp. 67--76, 2002. Google ScholarDigital Library
Index Terms
- VisCad: flexible code clone analysis support for NiCad
Recommendations
Representing clones in a localized manner
IWSC '11: Proceedings of the 5th International Workshop on Software ClonesCode clones (i.e., duplicate sections of code) can be scattered throughout the source files of a program. Manually evaluating group of such clones requires observing each clone in its origina location (i.e., opening each file and finding the source ...
Clone maintenance through analysis and refactoring
FSEDS '08: Proceedings of the 2008 Foundations of Software Engineering Doctoral SymposiumThe removal of duplicate code associated with code clones provides a mechanism to improve code clone maintenance by eliminating redundant code and reducing the amount of code that needs to be maintained. The research described in this paper contributes ...
An empirical study on bug propagation through code cloning
Highlights- Around 18.42% of the buggy code clones are involved with bug propagation.
- Near-...
AbstractCode clones are identical or nearly similar code fragments in a code-base. According to the existing studies, code clones are directly related to bugs. Code cloning, creating code clones, is suspected to propagate temporarily hidden ...
Comments