MuDelta: Delta-Oriented Mutation Testing at Commit Time

被引:6
|
作者
Ma, Wei [1 ]
Chekam, Thierry Titcheu [1 ]
Papadakis, Mike [1 ]
Harman, Mark [2 ,3 ]
机构
[1] Univ Luxembourg, SnT, Luxembourg, Luxembourg
[2] Facebook, London, England
[3] UCL, London, England
基金
欧洲研究理事会;
关键词
mutation testing; commit-relevant mutants; continuous integration; regression testing; machine learning;
D O I
10.1109/ICSE43902.2021.00086
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
To effectively test program changes using mutation testing, one needs to use mutants that are relevant to the altered program behaviours. In view of this, we introduce MuDelta, an approach that identifies commit-relevant mutants; mutants that affect and are affected by the changed program behaviours. Our approach uses machine learning applied on a combined scheme of graph and vector-based representations of static code features. Our results, from 50 commits in 21 Coreutils programs, demonstrate a strong prediction ability of our approach; yielding 0.80 (ROC) and 0.50 (PR Curve) AUC values with 0.63 and 0.32 precision and recall values. These predictions are significantly higher than random guesses, 0.20 (PR-Curve) AUC, 0.21 and 0.21 precision and recall, and subsequently lead to strong relevant tests that kill 45%more relevant mutants than randomly sampled mutants (either sampled from those residing on the changed component(s) or from the changed lines). Our results also show that MuDelta selects mutants with 27% higher fault revealing ability in fault introducing commits. Taken together, our results corroborate the conclusion that commit-based mutation testing is suitable and promising for evolving software.
引用
收藏
页码:897 / 909
页数:13
相关论文
共 50 条
  • [31] A Delta-Oriented Approach to Support the Safe Reuse of Black-Box Code Rewriters
    Benni, Benjamin
    Mosser, Sebastien
    Moha, Naouel
    Riveill, Michel
    NEW OPPORTUNITIES FOR SOFTWARE REUSE, 2018, 10826 : 164 - 180
  • [32] Towards Multidisciplinary Delta-Oriented Variability Management in Cyber-Physical Production Systems
    Fadhlillah, Hafiyyan Sayyid
    Feichtinger, Kevin
    Meixner, Kristof
    Sonnleithner, Lisa
    Rabiser, Rick
    Zoitl, Alois
    VAMOS'22: 16TH INTERNATIONAL WORKING CONFERENCE ON VARIABILITY MODELLING OF SOFTWARE-INTENSIVE SYSTEMS, 2022,
  • [33] Refactoring Delta-Oriented Product Lines to Enforce Guidelines for Efficient Type-Checking
    Damiani, Ferruccio
    Lienhardt, Michael
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION AND VALIDATION: DISCUSSION, DISSEMINATION, APPLICATIONS, ISOLA 2016, PT II, 2016, 9953 : 579 - 596
  • [34] Automatic refactoring of delta-oriented SPLs to remove-free form and replace-free form
    Ferruccio Damiani
    Michael Lienhardt
    Luca Paolini
    International Journal on Software Tools for Technology Transfer, 2019, 21 : 691 - 707
  • [35] Formal Foundations for Analyzing and Refactoring Delta-Oriented Model-Based Software Product Lines
    Pietsch, Christopher
    Kelter, Udo
    Kehrer, Timo
    Seidl, Christoph
    SPLC'19: PROCEEDINGS OF THE 23RD INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2020, : 207 - 217
  • [36] Automatic refactoring of delta-oriented SPLs to remove-free form and replace-free form
    Damiani, Ferruccio
    Lienhardt, Michael
    Paolini, Luca
    INTERNATIONAL JOURNAL ON SOFTWARE TOOLS FOR TECHNOLOGY TRANSFER, 2019, 21 (06) : 691 - 707
  • [37] From Pairwise to Family-based Generic Analysis of Delta-oriented Model-based SPLs
    Pietsch, Christopher
    Kelter, Udo
    Kehrer, Timo
    SPLC '21: PROCEEDINGS OF THE 25TH ACM INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, VOL A, 2021,
  • [38] Generating Adaptable User Interface in SPLE Using Delta-Oriented Programming and Interaction Flow Modeling Language
    Fadhlillah, Hafiyyan Sayyid
    Adianto, Daya
    Azurat, Ade
    Sakinah, Siti Ina
    SPLC'18: PROCEEDINGS OF THE 22ND INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE - VOL 2, 2018, : 52 - 55
  • [39] V4rdiac: Tooling for Multidisciplinary Delta-Oriented Variability Management in Cyber-Physical Production Systems
    Fadhlillah, Hafiyyan Sayyid
    Feichtinger, Kevin
    Bauer, Philipp
    Kutsia, Elene
    Rabiser, Rick
    26TH ACM INTERNATIONAL SYSTEMS AND SOFTWARE PRODUCT LINE CONFERENCE, SPLC 2022, VOL B, 2022, : 34 - 37
  • [40] Mutation Testing for Task-Oriented Chatbots
    Gomez-Abajo, Pablo
    Perez-Soler, Sara
    Canizares, Pablo C.
    Guerra, Esther
    de lara, Juan
    PROCEEDINGS OF 2024 28TH INTERNATION CONFERENCE ON EVALUATION AND ASSESSMENT IN SOFTWARE ENGINEERING, EASE 2024, 2024, : 232 - 241