Enhancing the Capability of Testing-Based Formal Verification by Handling Operations in Software Packages

被引:2
|
作者
Liu, Ai [1 ]
Liu, Shaoying [1 ]
机构
[1] Hiroshima Univ, Grad Sch Adv Sci & Engn, Higashihiroshima 7398511, Japan
关键词
Testing; !text type='Java']Java[!/text; Input variables; Computer bugs; Software packages; Costs; Codes; Specification; testing; formal verification; Hoare logic; method invocation;
D O I
10.1109/TSE.2022.3150333
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Testing a program based on its specification is necessary to ensure that the program meets its desired functionality. Formal methods, based on some mathematical theories, are often used to enhance the quality of systems but suffer from difficulties in application. The Testing-Based Formal Verification (TBFV) is proposed as an alternative to ensure the correctness of all traversed program paths, but is limited and impractical due to the lack of the capability of dealing with operations (e.g., methods defined in classes) provided in software packages. In this paper, we provide an axiomatic approach to dealing with this problem so as to enhance the capability of the TBFV. In particular, we focus on the Vector, ArrayList, and LinkedList classes in Java. We present both an example to demonstrate how our approach works properly and two small experiments conducted to evaluate the performance of our approach by comparing it with the specification-based testing (SBT). The result shows that our approach is more than 30% superior to the SBT in bug detection.
引用
收藏
页码:304 / 324
页数:21
相关论文
共 50 条
  • [31] A component-based approach to verification and validation of formal software models
    Desovski, Dejan
    Cukic, Bojan
    [J]. ARCHITECTING DEPENDABLE SYSTEMS IV, 2007, 4615 : 89 - +
  • [32] A Modeling Concept for Formal Verification of OS-Based Compositional Software
    Ribeiro, Leandro Batista
    Lorber, Florian
    Nyman, Ulrik
    Larsen, Kim Guldstrand
    Baunach, Marcel
    [J]. FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, FASE 2023, 2023, 13991 : 26 - 46
  • [33] Information Flow Control in Software DB Units Based on Formal Verification
    A. A. Timakov
    [J]. Programming and Computer Software, 2022, 48 : 265 - 285
  • [34] Security Software Formal Modeling and Verification Method Based on UML and Z
    Cao, Kunyu
    Li, Xiaohong
    Xing, Jinliang
    [J]. CONTEMPORARY RESEARCH ON E-BUSINESS TECHNOLOGY AND STRATEGY, 2012, 332 : 390 - 401
  • [35] Formal Analysis and Verification of Airborne Software Based on DO-333
    Cao, Zongyu
    Lv, Wanyou
    Huang, Yanhong
    Shi, Jianqi
    Li, Qin
    [J]. ELECTRONICS, 2020, 9 (02)
  • [36] A feature-based classification of formal verification techniques for software models
    Sebastian Gabmeyer
    Petra Kaufmann
    Martina Seidl
    Martin Gogolla
    Gerti Kappel
    [J]. Software & Systems Modeling, 2019, 18 : 473 - 498
  • [37] A feature-based classification of formal verification techniques for software models
    Gabmeyer, Sebastian
    Kaufmann, Petra
    Seidl, Martina
    Gogolla, Martin
    Kappel, Gerti
    [J]. SOFTWARE AND SYSTEMS MODELING, 2019, 18 (01): : 473 - 498
  • [38] Formal approach to software testing process based on UML models
    Barisas, Dominykas
    Bareisa, Eduardas
    [J]. INFORMATION TECHNOLOGIES' 2008, PROCEEDINGS, 2008, : 195 - 199
  • [39] A Software Testing Tool for the Verification of Abstract Data Type Implementations from Formal Algebraic Specifications
    del Vado Virseda, Rafael
    [J]. 2012 IEEE 25TH CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING (CSEE&T), 2012, : 100 - 104
  • [40] Formal verification of software-based medical devices considering medical guidelines
    Daw, Zamira
    Cleaveland, Rance
    Vetter, Marcus
    [J]. INTERNATIONAL JOURNAL OF COMPUTER ASSISTED RADIOLOGY AND SURGERY, 2014, 9 (01) : 145 - 153