Abstract:
This paper discusses the significance of code duplication detection, the basic principles of code duplication detection technology, and the features of the Treemap and Hierarchical Edge Bundles visualization technology. According to the characteristics of code duplication detection data structure, this paper summarizes design goal of code duplication visualization, and then proposes a solution by using Treemap and Hierarchical Edge Bundles as visualization representations. In the solution, Treemap is used as the visualization representation of code hierarchical relationships, and Hierarchical Edge Bundles is used as the visualization representation of code duplication relationships. According to the solution, this paper analyzes data exchange format and key technologies of system implementation, designs and implements code duplication visualization prototype system VizCD with a variety of software technologies, and conducts experiments to prove the role of the visualization system in code duplication detection result analysis.