首页 | 本学科首页   官方微博 | 高级检索  
     

基于路径覆盖插桩的可执行代码测试工具实现
引用本文:王轶,蒋同海,董军,周喜.基于路径覆盖插桩的可执行代码测试工具实现[J].计算机工程,2012,38(5):35-37,40.
作者姓名:王轶  蒋同海  董军  周喜
作者单位:1. 中国科学院研究生院,北京100049;中国科学院新疆理化技术研究所,乌鲁木齐830011
2. 中国科学院新疆理化技术研究所,乌鲁木齐,830011
基金项目:新疆维吾尔自治区重大专项基金,电子信息产业发展基金
摘    要:为解决传统程序插桩技术存在代码膨胀和运行时间较长的问题,提出对可执行代码进行控制流路径覆盖消除冗余的插桩策略。依据该策略设计一种针对Java可执行代码的单元测试工具,完成程序执行路径跟踪和覆盖率分析。对测试工具进行功能验证和性能分析,结果表明,该策略能够有效减少插桩点数量,降低插桩对被测程序时间特性的影响。

关 键 词:动态分析  单元测试  程序插桩  可执行代码  覆盖率分析  路径跟踪
收稿时间:2011-09-02

Implementation of Executable Code Test Tools Based on Path Coverage Instrumentation
WANG Yi , JIANG Tong-hai , DONG Jun , ZHOU Xi.Implementation of Executable Code Test Tools Based on Path Coverage Instrumentation[J].Computer Engineering,2012,38(5):35-37,40.
Authors:WANG Yi  JIANG Tong-hai  DONG Jun  ZHOU Xi
Affiliation:1.Graduate University of Chinese Academy of Sciences,Beijing 100049,China;2.Xinjiang Technical Institute of Physics and Chemistry,Chinese Academy of Sciences,Urumqi 830011,China)
Abstract: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.
Keywords:dynamic analysis  unit test  program instrumentation  executable code  coverage rate analysis  path tracking
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《计算机工程》浏览原始摘要信息
点击此处可从《计算机工程》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号