A UML model-based approach to detect infeasible paths

被引:7
|
作者
Kundu, Debasish [1 ]
Sarma, Monalisa [2 ]
Samanta, Debasis [1 ]
机构
[1] Indian Inst Technol, Sch Informat Technol, Kharagpur 721302, W Bengal, India
[2] Indian Inst Technol, Ctr Reliabil Engn, Kharagpur 721302, W Bengal, India
关键词
Infeasible path detection; Model-based analysis; Softwaretesting; UML sequence diagram; FEASIBILITY; GENERATION;
D O I
10.1016/j.jss.2015.05.007
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
UML model-based analysis is gaining wide acceptance for its cost effectiveness and lower overhead for processing compared to code-based analysis. A possible way to enhance the precision of the results of UML based analysis is by detecting infeasible paths in UML models. Our investigation reveals that two interaction patterns called Null Reference Check (NLC) and Mutually Exclusive (MUX) can cause a large number of infeasible paths in UML sequence diagrams. To detect such infeasible paths, we construct a graph model (called SIG), generate MM paths from the graph model, where an MM path refers to an execution sequence of model elements from the start to end of a method scope. Subsequently, we determine infeasibility of the MM paths with respect to MUX and NLC patterns. Our proposed model-based approach is useful to help exclude generation of test cases and test data for prior-detected infeasible paths, refine test effort estimation, and facilitate better test planning in the early stages of software development life cycle. (C) 2015 Elsevier Inc. All rights reserved.
引用
收藏
页码:71 / 92
页数:22
相关论文
共 50 条
  • [1] An Approach for Detecting Infeasible Paths Based on a SMT Solver
    Jiang, Shujuan
    Wang, Hongyang
    Zhang, Yanmei
    Xue, Meng
    Qian, Junyan
    Zhang, Miao
    IEEE ACCESS, 2019, 7 : 68058 - 68069
  • [2] Mining Patterns of Unsatisfiable Constraints to Detect Infeasible Paths
    Ding, Sun
    Tan, Hee Beng Kuan
    Shar, Lwin Khin
    10TH INTERNATIONAL WORKSHOP ON AUTOMATION OF SOFTWARE TEST AST 2015, 2015, : 65 - 69
  • [3] Model-based software component testing: A UML-based approach
    Zheng, Weiqun
    Bundell, Gary
    6TH IEEE/ACIS INTERNATIONAL CONFERENCE ON COMPUTER AND INFORMATION SCIENCE, PROCEEDINGS, 2007, : 891 - +
  • [4] MoMuT::UML Model-based Mutation Testing for UML
    Aichernig, Bernhard
    Brandl, Harald
    Joebstl, Elisabeth
    Krenn, Willibald
    Schlick, Rupert
    Tiran, Stefan
    2015 IEEE 8TH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2015,
  • [5] Model-based security engineering with UML
    Jürjens, J
    FOUNDATIONS OF SECURITY ANALYSIS AND DESIGN III, 2005, 3655 : 42 - 77
  • [6] Energy paths in the European Union: A model-based clustering approach
    Csereklyei, Zsuzsanna
    Thurner, Paul W.
    Langer, Johannes
    Kuechenhoff, Helmut
    ENERGY ECONOMICS, 2017, 65 : 442 - 457
  • [7] An approach for detecting infeasible paths based on sub-path expansion
    Wang, Hong-Yang
    Jiang, Shu-Juan
    Wang, Xing-Ya
    Ju, Xiao-Lin
    Zhang, Yan-Mei
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2015, 43 (08): : 1555 - 1560
  • [8] Research on Product Lifecycle Model-Based on UML
    Xia, Zihang
    Yang, Jiping
    Yin, Sheng
    Hu, Tao
    2020 ASIA CONFERENCE ON GEOLOGICAL RESEARCH AND ENVIRONMENTAL TECHNOLOGY, 2021, 632
  • [9] Model-Based Testing and the UML Testing Profile
    Krishnan, Padmanabhan
    Pari-Salas, Percy
    SEMANTICS AND ALGEBRAIC SPECIFICATION: ESSAYS DEDICATED TO PETER D. MOSSES ON THE OCCASION OF HIS 60TH BIRTHDAY, 2009, 5700 : 315 - 328
  • [10] A model-based approach to detect interspecific interactions during biofilm development
    Bridier, Arnaud
    Briandet, Romain
    Bouchez, Theodore
    Jabot, Franck
    BIOFOULING, 2014, 30 (07) : 761 - 771