摘要
文章阐述了代码重复检测的意义及检测技术的基本原理,深入分析了树图(Treemap)和层次边聚合图(Hierarchical Edge Bundles)可视化技术的特性。根据代码重复检测数据结构的特点,文章总结了代码重复检测结果可视化的设计目标,提出使用树图和层次边聚合图作为可视化形式的方案。在此方案中,将树图作为代码层次关系的可视化形式,将层次边聚合图作为代码重复关系的可视化形式。文章进一步分析了系统中的数据交换格式及关键技术,设计并使用多种软件技术实现了代码重复检测结果可视化的原型系统Viz CD。实验结果表明,该可视化系统可用于代码重复检测结果分析中。
This paper discusses the significance of code duplication detection,the basic principles oftechnology, and the features of the Treemap and Hierarchical Edge Bundles visualization technolcode duplication detection data structure, this paper summarizes design goal of code duplication by using Treemap and Hierarchical Edge Bundles as visualization representations. In the solution, Treization representation of code hierarchical relationships,and Hierarchical Edge Bundles is used as the visualization representation ofcode duplication relationships. According to the solution, this paper analyzes data exchange format plementation , 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 detectio
出处
《西华大学学报(自然科学版)》
CAS
2017年第6期13-22,共10页
Journal of Xihua University:Natural Science Edition
关键词
软件度量
代码重复
可视化
树图
层次边聚合图
software metric
code duplication
visualization
Treemap
Hierarchical Edge Bundles