现代电子技术
現代電子技術
현대전자기술
MODERN ELECTRONICS TECHNIQUE
2013年
6期
63-65
,共3页
朱丽%李汪彪%苏伟达%吴允平
硃麗%李汪彪%囌偉達%吳允平
주려%리왕표%소위체%오윤평
嵌入式软件%软件测试%路径覆盖%基本路径测试%覆盖率分析
嵌入式軟件%軟件測試%路徑覆蓋%基本路徑測試%覆蓋率分析
감입식연건%연건측시%로경복개%기본로경측시%복개솔분석
embedded software%software testing%path coverage%basic path testing%coverage rate analysis
针对嵌入式软件动态测试时的覆盖率分析问题,提出了一种嵌入式软件动态测试系统框架.该框架基于嵌入式软件测试的特点及路径覆盖的相关理论,包括被测试程序的静态分析、插桩技术和数据处理分析等部分.以静态分析指导插桩库的建立,通过插桩技术在程序分支或重要位置点植入探针,执行已插桩程序,获得动态测试跟踪数据,最后对数据进行处理分析并制作初步测试报告.结合该框架,模拟测试实验室现行项目208型海区终端的航标数据采集模块,得出路径覆盖率,证明该系统框架的可行性.
針對嵌入式軟件動態測試時的覆蓋率分析問題,提齣瞭一種嵌入式軟件動態測試繫統框架.該框架基于嵌入式軟件測試的特點及路徑覆蓋的相關理論,包括被測試程序的靜態分析、插樁技術和數據處理分析等部分.以靜態分析指導插樁庫的建立,通過插樁技術在程序分支或重要位置點植入探針,執行已插樁程序,穫得動態測試跟蹤數據,最後對數據進行處理分析併製作初步測試報告.結閤該框架,模擬測試實驗室現行項目208型海區終耑的航標數據採集模塊,得齣路徑覆蓋率,證明該繫統框架的可行性.
침대감입식연건동태측시시적복개솔분석문제,제출료일충감입식연건동태측시계통광가.해광가기우감입식연건측시적특점급로경복개적상관이론,포괄피측시정서적정태분석、삽장기술화수거처리분석등부분.이정태분석지도삽장고적건립,통과삽장기술재정서분지혹중요위치점식입탐침,집행이삽장정서,획득동태측시근종수거,최후대수거진행처리분석병제작초보측시보고.결합해광가,모의측시실험실현행항목208형해구종단적항표수거채집모괴,득출로경복개솔,증명해계통광가적가행성.
For the coverage analysis problems in embedded software dynamic testing,the dynamic testing system frame?work of embedded software is proposed. This framework based on the characteristics of embedded software testing and path coverage theory includes the static analysis of program under test,instrumentation technology and data processing analysis. The static analysis is used to direct the establishment of instrumentation library. Probes is implanted in program branches or important posi?tion through the instrumentation technology to execute the instrumented program and obtain the dynamic testing tracking data. At last,the data is processed and analyzed,and the preliminary testing report is made. The navigation mark data acquisition module of the existing project 208# sea area terminal was simulated and tested with the framework,and the path coverage rate was calculated. The result proved the feasibility of the system framework.