基于路径覆盖插桩的可执行代码测试工具实现  被引量:4

Implementation of Executable Code Test Tools Based on Path Coverage Instrumentation

在线阅读下载全文

作  者:王轶[1,2] 蒋同海[2] 董军[2] 周喜[2] 

机构地区:[1]中国科学院研究生院,北京100049 [2]中国科学院新疆理化技术研究所,乌鲁木齐830011

出  处:《计算机工程》2012年第5期35-37,40,共4页Computer Engineering

基  金:新疆维吾尔自治区重大专项基金资助项目(200732143-1);电子信息产业发展基金资助项目([2009]453)

摘  要:为解决传统程序插桩技术存在代码膨胀和运行时间较长的问题,提出对可执行代码进行控制流路径覆盖消除冗余的插桩策略。依据该策略设计一种针对Java可执行代码的单元测试工具,完成程序执行路径跟踪和覆盖率分析。对测试工具进行功能验证和性能分析,结果表明,该策略能够有效减少插桩点数量,降低插桩对被测程序时间特性的影响。Traditional program instrumentation can increase the executing time greatly and bring a great code bloat.In order to eliminate the impact of program instrumentation,a strategy based on control flow path coverage for executable code to eliminate redundant is presented.And a unit test tools for Java executable code is designed to achieve program execution path tracking and coverage analysis.Results show that both the number of instrumentation probes and runtime overhead of instrumentation are reduced effectively.

关 键 词:动态分析 单元测试 程序插桩 可执行代码 覆盖率分析 路径跟踪 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象