检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:马超 牟永敏[1] MA Chao;MU Yong-min(School of Computer,Beijing Information Science and Technology University,Beijing 100101,China)
机构地区:[1]北京信息科技大学计算机学院,北京100101
出 处:《计算机仿真》2020年第7期319-327,372,共10页Computer Simulation
基 金:北京市自然科学基金资助项目(.Z160002);网络文化与数字传播北京市重点实验室开放课题资助(ICDD2017XX);研究生教育(71D1811013)。
摘 要:插装既是一些测试的前期工作又是关键工作,插装的正确与否直接影响测试结果的准确性。通过路径插装能够知道测试的路径覆盖率提高测试的效率。通过变量的插装,能够在代码版本变更之后数据发生异常时检测到异常点位置。上述插装器主要是面向基本路径和函数调用路径以及变量的数据变化域两个功能进行插装,首先面向不同的功能使用不同的方法对代码进行预处理及分析,得到存有相关信息的中间文件,然后利用中间文件确定探针位置,在确定的位置上插入装点函数,最后导出存有插装代码的文本文件。实验结果表明该多功能插装器能够按照不同的功能准确的进行插装,并在降低代码膨胀率的基础上提高插装的效率。Instrumentation is not only the preliminary work of test but also the key work.The correctness of instrumentation directly affects the accuracy of test result.The path instrumentation can reflect the path coverage of test and improve the efficiency of test.The instrumentation of variables can detect the location of abnormal data point after the change of code version.The above instrumenters were mainly geared to the needs of basic path,function call path and change region of variable data.Firstly,different methods were used to preprocess and analyze the code with different functions,and then the intermediate file with relevant information was obtained.Moreover,the intermediate file was used to determine the position of probe.The decorated functions were inserted in a fixed position.Finally,the text file with instrumentation code was exported.Experimental results show that the multifunctional instrumenter can perform accurate instrumentation according to different functions.The instrumented efficiency can be improved by reducing the expansion rate of code.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:3.17.164.48