Impacts of Program Structures on Code Coverage of Generated Test Suites

被引:0
|
作者
Watanabe, Ryoga [1 ]
Higo, Yoshiki [1 ]
Kusumoto, Shinji [1 ]
机构
[1] Osaka Univ, Grad Sch Informat Sci & Technol, Osaka, Japan
来源
PRODUCT-FOCUSED SOFTWARE PROCESS IMPROVEMENT, PROFES 2023, PT I | 2024年 / 14483卷
关键词
Unit testing; Test generation tool; Code coverage; Program structures;
D O I
10.1007/978-3-031-49266-2_24
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Unit testing is a part of the process of developing software. In unit testing, developers verify that programs properly work as developers intend. Creating a test suite for a unit test is very time-consuming. For this reason, research is being conducted to generate a test suite for unit testing automatically, and before now, some test generation tools have been released. However, test generation tools may not be able to generate a test suite that fully covers a test target. In our research, we investigate the causes of this problem by focusing on structures of test targets to improve test generation tools. As a result, we found four patterns as the causes of this problem and proposed subsequent research directions for each pattern to solve this problem.
引用
收藏
页码:355 / 362
页数:8
相关论文
共 50 条
  • [31] On the Coverage of Program Code by Specification-based Tests
    Yu, Y. T.
    Chan, Eric Y. K.
    Poon, P. -L.
    2009 NINTH INTERNATIONAL CONFERENCE ON QUALITY SOFTWARE (QSIC 2009), 2009, : 41 - +
  • [32] Statement frequency coverage: A code coverage criterion for assessing test suite effectiveness
    Aghamohammadi, Alireza
    Mirian-Hosseinabadi, Seyed-Hassan
    Jalali, Sajad
    INFORMATION AND SOFTWARE TECHNOLOGY, 2021, 129 (129)
  • [33] DRC Code Coverage Test A Novel QA methodology
    Lee, Yongseok
    Park, Jaehong
    Elsayed, Mohamed A.
    Gadallah, Maged E.
    Alimam, Mohamed
    2018 INTERNATIONAL CONFERENCE ON IC DESIGN AND TECHNOLOGY (ICICDT 2018), 2018, : 93 - 96
  • [34] Code-coverage guided prioritized test generation
    Li, J. Jenny
    Weiss, David
    Yee, Howell
    INFORMATION AND SOFTWARE TECHNOLOGY, 2006, 48 (12) : 1187 - 1198
  • [35] Automatic test generation method for functional coverage improvement by code coverage analysis
    Fu, Liang
    Lu, Ding
    Zhang, Zhimin
    Sun, Yuan
    Jisuanji Fuzhu Sheji Yu Tuxingxue Xuebao/Journal of Computer-Aided Design and Computer Graphics, 2009, 21 (04): : 454 - 460
  • [36] Regression test case prioritization by code combinations coverage
    Huang, Rubing
    Zhang, Quanjun
    Towey, Dave
    Sun, Weifeng
    Chen, Jinfu
    JOURNAL OF SYSTEMS AND SOFTWARE, 2020, 169
  • [37] Code-coverage guided prioritized test generation
    Li, JJ
    Yee, H
    PROCEEDINGS OF THE 28TH ANNUAL INTERNATIONAL COMPUTER SOFTWARE AND APPLICATION CONFERENCE, WORKSHOP AND FAST ABSTRACTS, 2004, : 178 - 181
  • [38] T-wise combinatorial interaction test suites construction based on coverage inheritance
    Calvagna, Andrea
    Gargantini, Angelo
    SOFTWARE TESTING VERIFICATION & RELIABILITY, 2012, 22 (07): : 507 - 526
  • [39] Coverage-Based Grammar-Guided Genetic Programming Generation of Test Suites
    Ibias, Alfredo
    Vazquez-Gomis, Pablo
    Benito-Parejo, Miguel
    2021 IEEE CONGRESS ON EVOLUTIONARY COMPUTATION (CEC 2021), 2021, : 2411 - 2418
  • [40] On the Diffusion of Test Smells in Automatically Generated Test Code: An Empirical Study
    Palomba, Fabio
    Di Nucci, Dario
    Panichella, Annibale
    Oliveto, Rocco
    De Lucia, Andrea
    2016 IEEE/ACM 9TH INTERNATIONAL WORKSHOP ON SEARCH-BASED SOFTWARE TESTING (SBST), 2016, : 5 - 14