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 条
  • [41] TEST COVERAGE ANALYSIS BASED ON PROGRAM SLICING
    Chen Zhenqiang Xu Baowen Guanjie (Dept. of Computer Science & Eng.
    JournalofElectronics(China), 2003, (03) : 232 - 236
  • [42] Test coverage analysis based on program slicing
    Chen, ZQ
    Xu, BW
    Yang, HJ
    Chen, HW
    PROCEEDINGS OF THE 2003 IEEE INTERNATIONAL CONFERENCE ON INFORMATION REUSE AND INTEGRATION, 2003, : 559 - 565
  • [43] Utilising code smells to detect quality problems in TTCN-3 test suites
    Neukirchen, Helmut
    Bisanz, Martin
    TESTING OF SOFTWARE AND COMMUNICATING SYSTEMS, PROCEEDINGS, 2007, 4581 : 228 - +
  • [44] Virtual Reality Flythrough of Program Code Structures
    Oberhauser, Roy
    Lecon, Carsten
    PROCEEDINGS OF THE VIRTUAL REALITY INTERNATIONAL CONFERENCE - LAVAL VIRTUAL 2017 (ACM VRIC), 2017,
  • [45] PROGRAM EASES TEST-CODE DEVELOPMENT
    CONRAD, A
    MICROWAVES & RF, 1992, 31 (06) : 124 - 124
  • [46] Coverage-Driven Test Code Generation for Concurrent Classes
    Terragni, Valerio
    Cheung, Shing-Chi
    2016 IEEE/ACM 38TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2016, : 1121 - 1132
  • [47] Excluding code from test coverage: practices, motivations, and impact
    Hora, Andre
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (01)
  • [48] Test Case Prioritization Algorithm Based on Improved Code Coverage
    Zhu, Yanan
    Liu, Feng
    IAENG International Journal of Computer Science, 2023, 50 (02)
  • [49] Software Vulnerability Detection Based on Code Coverage and Test Cost
    Shuai, Bo
    Li, Haifeng
    Zhang, Lei
    Zhang, Quan
    Tang, Chaojing
    2015 11TH INTERNATIONAL CONFERENCE ON COMPUTATIONAL INTELLIGENCE AND SECURITY (CIS), 2015, : 317 - 321
  • [50] What Code Is Deliberately Excluded from Test Coverage and Why?
    Hora, Andre
    2021 IEEE/ACM 18TH INTERNATIONAL CONFERENCE ON MINING SOFTWARE REPOSITORIES (MSR 2021), 2021, : 392 - 402