Measuring Software Testability via Automatically Generated Test Cases

被引:0
作者
Guglielmo, Luca [1 ]
Mariani, Leonardo [1 ]
Denaro, Giovanni [1 ]
机构
[1] Univ Milano Bicocca, Dept Informat Syst & Commun, I-20126 Milan, Italy
关键词
Generators; Software testing; Software measurement; Codes; !text type='Java']Java[!/text; Test pattern generators; Testing; Automatic test equipment; Software testability; software testing; automatic test generation; mutation analysis; METRICS;
D O I
10.1109/ACCESS.2024.3396625
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Estimating software testability can crucially assist software managers to optimize test budgets and software quality. In this paper, we propose a new approach that radically differs from the traditional approach of pursuing testability measurements based on software metrics, e.g., the size of the code or the complexity of the designs. Our approach exploits automatic test generation and mutation analysis to quantify the evidence about the relative hardness of developing effective test cases. In the paper, we elaborate on the intuitions and the methodological choices that underlie our proposal for estimating testability, introduce a technique and a prototype that allows for concretely estimating testability accordingly, and discuss our findings out of a set of experiments in which we compare the performance of our estimations both against and in combination with traditional software metrics. The results show that our testability estimates capture a complementary dimension of testability that can be synergistically combined with approaches based on software metrics to improve the accuracy of predictions.
引用
收藏
页码:63904 / 63916
页数:13
相关论文
共 39 条
[1]  
Alshahwan N., 2009, Proceedings of the 2009 11th IEEE International Symposium on Web Systems Evolution (WSE 2009), P49, DOI 10.1109/WSE.2009.5630393
[2]  
Amche M., 2015, Java Code Metrics Calculator (CK)
[3]  
[Anonymous], 2011, ACM SIGSOFT Softw Eng. Notes, DOI DOI 10.1145/19889971989020
[4]  
[Anonymous], 2001, 9126 ISOIEC
[5]  
Badri L.., 2011, Int. J. Softw. Eng. Appl., V5, P18
[6]  
Badri L, 2010, COMM COM INF SC, V117, P78
[7]  
Badri M., 2012, J. Softw. Eng. Appl., V05, P513, DOI [10.4236/jsea.2012.57060, DOI 10.4236/JSEA.2012.57060]
[8]   On the use of testability measures for dependability assessment [J].
Bertolino, A ;
Strigini, L .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 1996, 22 (02) :97-108
[9]  
Bruntink M, 2004, FOURTH IEEE INTERNATIONAL WORKSHOP ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, P136
[10]   An empirical study into class testability [J].
Bruntink, Magiel ;
van Deursen, Arie .
JOURNAL OF SYSTEMS AND SOFTWARE, 2006, 79 (09) :1219-1232