Applying Mutation Analysis On Kernel Test Suites: An Experience Report

被引:19
作者
Ahmed, Iftekhar [1 ]
Jensen, Carlos [1 ]
Groce, Alex [2 ]
McKenney, Paul E. [3 ]
机构
[1] Oregon State Univ, Sch EECS, Corvallis, OR 97331 USA
[2] No Arizona Univ, Sch Informat Comp & Cyber Syst, Flagstaff, AZ USA
[3] IBM Linux Technol Ctr, Austin, TX USA
来源
10TH IEEE INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION WORKSHOPS - ICSTW 2017 | 2017年
关键词
Mutation Analysis; Linux kernel;
D O I
10.1109/ICSTW.2017.26
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Mutation analysis is an established technique for measuring the completeness and quality of a test suite. Despite four decades of research on this technique, its use in large systems is still rare, in part due to computational requirements and high numbers of false positives. We present our experiences using mutation analysis on the Linux kernel's RCU (Read Copy Update) module, where we adapt existing techniques to constrain the complexity and computation requirements. We show that mutation analysis can be a useful tool, uncovering gaps in even well-tested modules like RCU. This experiment has so far led to the identification of 3 gaps in the RCU test harness, and 2 bugs in the RCU module masked by those gaps. We argue that mutation testing can and should be more extensively used in practice.
引用
收藏
页码:110 / 115
页数:6
相关论文
共 46 条
[1]  
Acree Jr, 1980, THESIS
[2]   Herding Cats: Modelling, Simulation, Testing, and Data Mining for Weak Memory [J].
Alglave, Jade ;
Maranget, Luc ;
Tautschnig, Michael .
ACM TRANSACTIONS ON PROGRAMMING LANGUAGES AND SYSTEMS, 2014, 36 (02)
[3]   Establishing Theoretical Minimal Sets of Mutants [J].
Ammann, Paul ;
Delamaro, Marcio E. ;
Offutt, Jeff .
2014 IEEE SEVENTH INTERNATIONAL CONFERENCE ON SOFTWARE TESTING, VERIFICATION AND VALIDATION (ICST), 2014, :21-30
[4]   Is mutation an appropriate tool for testing experiments? [J].
Andrews, JH ;
Briand, LC ;
Labiche, Y .
ICSE 05: 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2005, :402-411
[5]   General test result checking with log file analysis [J].
Andrews, JH ;
Zhang, YJ .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2003, 29 (07) :634-648
[6]  
[Anonymous], ASPL 16 16 INT C
[7]  
[Anonymous], IMPROVING ENERGY EFF
[8]   An Empirical Evaluation of Mutation Testing for Improving the Test Quality of Safety-Critical Software [J].
Baker, Richard ;
Habli, Ibrahim .
IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2013, 39 (06) :787-805
[9]  
Baldwin D., 1979, THESIS
[10]   2 NOTIONS OF CORRECTNESS AND THEIR RELATION TO TESTING [J].
BUDD, TA ;
ANGLUIN, D .
ACTA INFORMATICA, 1982, 18 (01) :31-45