基本路径覆盖测试探针插桩技术研究  被引量:2

Research of program instrumentation in basic path coverage testing

在线阅读下载全文

作  者:施冬梅[1] 

机构地区:[1]镇江市高等专科学校电子信息系,江苏镇江212003

出  处:《计算机工程与设计》2010年第13期3025-3028,共4页Computer Engineering and Design

摘  要:为实现C语言开发的嵌入式软件自动路径覆盖测试,提出了基本路径覆盖(Z路径优化)测试探针插桩技术。初始化时确定探针算法、分配内存空间,插桩策略解决了插桩位置及方法,采用消息队列机制完成测试数据采集,使用模式匹配删除探针恢复现场。通过模拟测试XSBase 255嵌入式系统上的C语言计算器模块(callbacks.c),从覆盖率看出取得了一定的效果,为测试和维护工作提供了底层数据支持。In order to realize roboticized path coverage testing for C language,the instrumentation technology in basic path coverage testing(Z path optimization) is researched.The probe arithmetic at the time of initialization is designed,and then distributed EMS memory.The instrumentation location and method are solved by the instrumentation strategy.The message queue is used to finish data collection.Finally,the pattern matching is used to delete probe.The coverage results showed that the research achieved a certain effect through simulation tests XSBase 255 embedded system C-calculator module(callbacks.c),which supported the underlying data for testing and the maintenance work.

关 键 词:路径覆盖测试 程序插桩技术 消息队列机制 控制流程图 嵌入式软件 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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