A Lightweight Program Dependence based Approach to Concurrent Mutation Analysis

被引:3
|
作者
Sun, Chang-ai [1 ]
Jia, Jingting [1 ]
Liu, Huai [2 ]
Zhang, Xiangyu [3 ]
机构
[1] Univ Sci & Technol Beijing, Sch Comp & Commun Engn, Beijing 100083, Peoples R China
[2] Victoria Univ, Coll Engn & Sci, Melbourne, Vic 8001, Australia
[3] Purdue Univ, Dept Comp Sci, W Lafayette, IN 47907 USA
基金
中国国家自然科学基金; 北京市自然科学基金;
关键词
Mutation testing; Concurrent mechanism; Static analysis; Program composition;
D O I
10.1109/COMPSAC.2018.00023
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Mutation analysis is a classical software testing approach which attempts to imitate faults using a set of mutants. It has been advocated to be an appropriate technique for evaluating the quality of test suites as well as the effectiveness of a testing method. However, the applicability of mutation analysis, especially in many practical situations, has been hindered due to the high computation cost and the long execution time, which are mainly caused by the large number of mutants. Numerous studies, particularly those based on parallel computing, have been conducted to reduce the overhead of mutation analysis. In this paper, we aim to improve the efficiency of mutation analysis from a different perspective. We make use of lightweight program analysis techniques to identify a group of mutants that share the common execution traces before the mutation location, and then merge them into a synthesized program with the concurrent mechanism, on which mutation analysis can be efficiently executed without the duplicate execution of common traces. Our empirical study demonstrates that our approach can significantly decrease the computation overhead as well as shorten the execution time of mutation analysis, without jeopardizing its effectiveness. The in-depth analysis further shows that the effectiveness of our approach is positively correlated with the number of branches in the program under test. Our approach makes it possible to efficiently execute mutation analysis even without the need of advanced computer architectures.
引用
收藏
页码:116 / 125
页数:10
相关论文
共 50 条
  • [1] The relationship between program dependence and mutation analysis
    Harman, M
    Hierons, R
    Danicic, S
    MUTATION TESTING FOR THE NEW CENTURY, 2001, 24 : 5 - 13
  • [2] Program dependence analysis of concurrent logic programs and its applications
    Zhao, JJ
    Cheng, JD
    Ushijima, K
    1996 INTERNATIONAL CONFERENCE ON PARALLEL AND DISTRIBUTED SYSTEMS, PROCEEDINGS, 1996, : 282 - 291
  • [3] Concurrent Program Semantic Mutation Testing Based on Abstract Memory Model
    Cao, Lixin
    Zheng, Wei
    Hu, Desheng
    Bai, Han
    2015 IEEE INTERNATIONAL CONFERENCE ON INFORMATION AND AUTOMATION, 2015, : 1200 - 1205
  • [4] DEPENDENCE-BASED PROGRAM ANALYSIS
    JOHNSON, R
    PINGALI, K
    SIGPLAN NOTICES, 1993, 28 (06): : 78 - 89
  • [5] A Lightweight and Portable Approach to Making Concurrent Failures Reproducible
    Luo, Qingzhou
    Zhang, Sai
    Zhao, Jianjun
    Hu, Min
    FUNDAMENTAL APPROACHES TO SOFTWARE ENGINEERING, PROCEEDINGS, 2010, 6013 : 323 - +
  • [6] An Approach to Slicing Concurrent Ada Programs Based on Program Reachability Graphs
    Qi, Xiaofang
    Xu, Baowen
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2006, 6 (1A): : 29 - 37
  • [7] A new approach for concurrent program slicing
    Rousseau, Pierre
    FORMAL TECHNIQUES FOR NETWORKED AND DISTRIBUTED SYSTEMS - FORTE 2006, 2006, 4229 : 228 - 242
  • [8] Serial analysis of mutation spectra (SAMS): A new approach for the determination of mutation spectra and their sequence dependence
    Fang, Huafeng
    Taylor, John-Stephen
    ABSTRACTS OF PAPERS OF THE AMERICAN CHEMICAL SOCIETY, 2007, 234
  • [9] Serial analysis of mutation spectra (SAMS): A new approach for the determination of mutation spectra and their sequence dependence
    Fang, Huafeng
    Taylor, John-Stephen
    CHEMICAL RESEARCH IN TOXICOLOGY, 2007, 20 (12) : 2011 - 2011
  • [10] Dependence analysis of concurrent programs based on reachability graph and its applications
    Qi, XF
    Xu, BW
    COMPUTATIONAL SCIENCE - ICCS 2004, PT 1, PROCEEDINGS, 2004, 3036 : 405 - 408