检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]西安邮电学院计算机学院,陕西西安710121
出 处:《现代电子技术》2011年第4期50-52,55,共4页Modern Electronics Technique
基 金:陕西省教育厅资助项目(09JK727);陕西省公关计划资助项目(2009K08-26)
摘 要:为了动态进行白盒、黑盒测试,设计实现了基于源代码插桩的动态测试工具,该工具包含了源代码的预处理方法、插桩库设计、插桩策略以及统计分析等内容。通过对源代码的语法、词法分析,对其插桩能获取最高的准确度,并且设计在函数执行,结束之前统一将桩信息写入桩文件中,减少了大量的I/O操作。最终,通过测试用例的执行获得了覆盖率、执行时间、复杂度等测试数据,正确地得到了测试用例优劣性的指标。In order to perform the dynamic testing of the white-box and black box, the dynamic testing tool based on source code instrumentation pile is designed. This tool contains the preprocessing methods of source code, the design of instrumentation library, instrumentation strategy and statistical analysis. The high accuracy can be obtained through the syntax and lexical analyses of the source code. The instrumentation information is written into a file before the fulfilment of the function, the way which can reduce a large number of I0 operations. The testing parameters of code coverage rate, execution du- ration and complexity were obtained.
分 类 号:TN911-34[电子电信—通信与信息系统] TP311[电子电信—信息与通信工程]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:18.222.226.47