Data Mining in Programs: Clustering Programs Based on Structure Metrics and Execution Values

被引:1
|
作者
Wang, TianTian [1 ]
Wang, KeChao [2 ]
Su, XiaoHong [1 ]
Liu, Lin [2 ]
机构
[1] Harbin Inst Technol, Sch Comp Sci & Technol, Harbin, Peoples R China
[2] Harbin Univ, Sch Informat Engn, Harbin, Peoples R China
基金
中国国家自然科学基金;
关键词
Clustering; Data Mining; Program Repair; Structural Metrics; Value Sequence;
D O I
10.4018/IJDWM.2020040104
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Software exists in various control systems, such as security-critical systems and so on. Existing program clustering methods are limited in identifying functional equivalent programs with different syntactic representations. To solve this problem, firstly, a clustering method based on structured metric vectors was proposed to quickly identify structurally similar programs from a large number of existing programs. Next, a clustering method based on similar execution value sequences was proposed, to accurately identify the functional equivalent programs with code variations. This approach has been applied in automatic program repair, to identify sample programs from a large pool of template programs. The average purity value is 0.95576 and the average entropy is 0.15497. This means that the clustering partition is consistent with the expected partition.
引用
收藏
页码:48 / 63
页数:16
相关论文
共 50 条