Analysis of Effort Estimation for Test Suite using Control Graph

Babita Pathik, Meena Sharma
{"title":"Analysis of Effort Estimation for Test Suite using Control Graph","authors":"Babita Pathik, Meena Sharma","doi":"10.1109/aimv53313.2021.9670952","DOIUrl":null,"url":null,"abstract":"The software test estimation is a vital process for business prospects. The testing effort estimates with test case generation and execution time of test data. This paper evaluates the effort estimated for test cases by branch coverage on Control Flow Graph (CFG). Develop CFG for the programs, and extract all independent paths. The graph covers the information flow among all the classes, their methods, functions, and statements. Examine the number of test cases by assessing the cyclomatic complexity metrics of the graph. We also formed software test metrics with Halstead measurement on two different versions of a program. The empirical evaluation is portrayed on a segment of python code. Test efforts are analyzed on the additional test cases, and a comparative analysis is performed on testing effort estimated for the changed version of source code. This work aims to analyze testing efforts on old and modified versions of a program and measure the difference between the two. The experiment results show that the modified code regression test takes 0.791 sec less time than the complete test.","PeriodicalId":135318,"journal":{"name":"2021 International Conference on Artificial Intelligence and Machine Vision (AIMV)","volume":"61 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2021-09-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2021 International Conference on Artificial Intelligence and Machine Vision (AIMV)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/aimv53313.2021.9670952","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

The software test estimation is a vital process for business prospects. The testing effort estimates with test case generation and execution time of test data. This paper evaluates the effort estimated for test cases by branch coverage on Control Flow Graph (CFG). Develop CFG for the programs, and extract all independent paths. The graph covers the information flow among all the classes, their methods, functions, and statements. Examine the number of test cases by assessing the cyclomatic complexity metrics of the graph. We also formed software test metrics with Halstead measurement on two different versions of a program. The empirical evaluation is portrayed on a segment of python code. Test efforts are analyzed on the additional test cases, and a comparative analysis is performed on testing effort estimated for the changed version of source code. This work aims to analyze testing efforts on old and modified versions of a program and measure the difference between the two. The experiment results show that the modified code regression test takes 0.791 sec less time than the complete test.
基于控制图的测试套件工作量估算分析
软件测试评估是业务前景的一个重要过程。测试工作根据测试用例的生成和测试数据的执行时间进行评估。本文通过控制流图(CFG)上的分支覆盖率来评估测试用例估计的工作量。为程序开发CFG,并提取所有独立路径。该图涵盖了所有类、类的方法、函数和语句之间的信息流。通过评估图的圈复杂度度量来检查测试用例的数量。我们还在一个程序的两个不同版本上用Halstead度量形成了软件测试度量。经验评估是在一段python代码中描述的。测试工作在附加的测试用例上进行分析,并且对源代码更改版本的测试工作进行比较分析。这项工作旨在分析程序的旧版本和修改版本的测试工作,并度量两者之间的差异。实验结果表明,改进后的代码回归测试比完整的测试节省了0.791秒的时间。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信