1673-159X

CN 51-1686/N

代码重复检测结果可视化设计与实现

Code Duplication Detection Results Visualization Design and Implementation

  • 摘要: 文章阐述了代码重复检测的意义及检测技术的基本原理,深入分析了树图(Treemap)和层次边聚合图(Hierarchical Edge Bundles)可视化技术的特性。根据代码重复检测数据结构的特点, 文章总结了代码重复检测结果可视化的设计目标, 提出使用树图和层次边聚合图作为可视化形式的方案。在此方案中,将树图作为代码层次关系的可视化形式,将层次边聚合图作为代码重复关系的可视化形式。文章进一步分析了系统中的数据交换格式及关键技术, 设计并使用多种软件技术实现了代码重复检测结果可视化的原型系统VizCD。实验结果表明,该可视化系统可用于代码重复检测结果分析中。

     

    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.

     

/

返回文章
返回