An Efficient Method for Automatic Generation of Linearly Independent Paths in White-box Testing

被引:0
|
作者
Wang, Xinyang [1 ]
Jiang, Yaqiu [1 ]
Tian, Wenhong [1 ]
机构
[1] Univ Elect Sci & Technol China, Sch Software & Engn, Chengdu, Sichuan, Peoples R China
关键词
White box test; Path-Based Test; Control flow graph; Complexity Measure; Elementary circuit;
D O I
暂无
中图分类号
T [工业技术];
学科分类号
08 ;
摘要
Testing is the one of most significant quality assurance measures for software. It has been shown that the software testing is one of the most critical and important phases in the life cycle of software engineering. In general, software testing takes around 40-60% of the effort, time and cost. Structure-oriented test methods define test cases on the basis of the internal program structures and are widely used. Path based test is one of the important Structure-oriented test methods during software development. However, there is still lack of automatic and highly efficient tool for generating basic paths in white-box testing. In view of this, an automatic and efficient method for generating basic paths is proposed in this paper. This method firstly transforms the source-code program into corresponding control flow graph (CFG). By modifying the original CFG to a strongly connected graph, a new algorithm (ABPC) is designed to automatically construct all bask paths. The ABPC algorithm has computational complexity linear to the number of total edges and nodes in the CFG. Through performance evaluation of many examples, it is shown that the proposed method is correct and scalable to very large test cases. The proposed method can be applied to basis path testing easily.
引用
收藏
页码:108 / 120
页数:13
相关论文
共 50 条
  • [41] Reusing Black Box Test Paths For White Box Testing of Websites
    Chopra, Rajiv
    Madan, Sushila
    [J]. PROCEEDINGS OF THE 2013 3RD IEEE INTERNATIONAL ADVANCE COMPUTING CONFERENCE (IACC), 2013, : 1345 - 1350
  • [42] White-Box Multi-Objective Adversarial Attack on Dialogue Generation
    Li, Yufei
    Li, Zexin
    Gao, Yingfan
    Liu, Cong
    [J]. PROCEEDINGS OF THE 61ST ANNUAL MEETING OF THE ASSOCIATION FOR COMPUTATIONAL LINGUISTICS, ACL 2023, VOL 1, 2023, : 1778 - 1792
  • [43] An Efficient Structural Analysis of SAS and its Application to White-Box Cryptography
    Yim, Hyoungshin
    Kang, Ju-Sung
    Yeom, Yongjin
    [J]. 2021 IEEE REGION 10 SYMPOSIUM (TENSYMP), 2021,
  • [44] Efficient Untargeted White-Box Adversarial Attacks Based on Simple Initialization
    Zhou, Yunyi
    Gao, Haichang
    He, Jianping
    Zhang, Shudong
    Wu, Zihui
    [J]. CHINESE JOURNAL OF ELECTRONICS, 2024, 33 (04) : 979 - 988
  • [45] Black-Box and White-Box Test Case Generation for RESTful APIs: Enemies or Allies?
    Martin-Lopez, Alberto
    Arcuri, Andrea
    Segura, Sergio
    Ruiz-Cortes, Antonio
    [J]. 2021 IEEE 32ND INTERNATIONAL SYMPOSIUM ON SOFTWARE RELIABILITY ENGINEERING (ISSRE 2021), 2021, : 231 - 241
  • [46] NeuronFair: Interpretable White-Box Fairness Testing through Biased Neuron Identification
    Zheng, Haibin
    Chen, Zhiqing
    Du, Tianyu
    Zhang, Xuhong
    Cheng, Yao
    Ji, Shouling
    Wang, Jingyi
    Yu, Yue
    Chen, Jinyin
    [J]. 2022 ACM/IEEE 44TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2022), 2022, : 1519 - 1531
  • [47] Bringing white-box testing to Service Oriented Architectures through a Service Oriented Approach
    Bartolini, Cesare
    Bertolino, Antonia
    Elbaum, Sebastian
    Marchetti, Eda
    [J]. JOURNAL OF SYSTEMS AND SOFTWARE, 2011, 84 (04) : 655 - 668
  • [48] White-Box vs. Black-Box Complexity of Search Problems: Ramsey and Graph Property Testing
    Komargodski, Ilan
    Naor, Moni
    Yogev, Eylon
    [J]. 2017 IEEE 58TH ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS), 2017, : 622 - 632
  • [49] White-Box vs. Black-Box Complexity of Search Problems: Ramsey and Graph Property Testing
    Komargodski, Ilan
    Naor, Moni
    Yogev, Eylon
    [J]. JOURNAL OF THE ACM, 2019, 66 (05)
  • [50] Test4Deep: an Effective White-box Testing for Deep Neural Networks
    Yu, Jing
    Fu, Yao
    Zheng, Yanan
    Zheng, Wang
    Ye, Xiaojun
    [J]. 2019 22ND IEEE INTERNATIONAL CONFERENCE ON COMPUTATIONAL SCIENCE AND ENGINEERING (IEEE CSE 2019) AND 17TH IEEE INTERNATIONAL CONFERENCE ON EMBEDDED AND UBIQUITOUS COMPUTING (IEEE EUC 2019), 2019, : 16 - 23