现有的影响分析算法大都基于程序的静态分析技术,分析方法比较复杂且精度不高.针对静态分析存在的问题,提出采用动态分析技术构造Java程序的动态调用图,基于动态调用图,采用k-类方法后向切片计算修改影响集合.实验表明该方法简便易行,分析精度高,便于修改影响分析技术在大型Java程序测试中的实际运用.
The difficult problem of existing change impact analysis algorithm based on static analysis techniques is complicated and less accuracy. For this problem, a dynamic analysis technique is proposed to construct Java program call graph, by forward slices k-class method to affect sets. Experiments prove that this dynamic analysis technique is simple, convenient and higher accuracy for large scale Java programs tests.