The class-level mutants of MuJava

  • Authors:
  • Jeff Offutt;Yu-Seung Ma;Yong-Rae Kwon

  • Affiliations:
  • George Mason University;Elec. & Telecom. Rsrch Inst., Korea;Korea Advanced Institute of Science and Technology, KAIST, Korea

  • Venue:
  • Proceedings of the 2006 international workshop on Automation of software test
  • Year:
  • 2006

Quantified Score

Hi-index 0.00

Visualization

Abstract

This paper presents results from empirical studies of object-oriented, class level mutation operators, using the automated analysis and testing tool MuJava. Class mutation operators modify OO programming language features such as inheritance, polymorphism, dynamic binding and encapsulation. This paper presents data from 866 classes in six open-source programs. Several new class-level mutation operators are defined in this paper and an analysis of the number of mutants generated is provided. Techniques for eliminating some equivalent mutants are described and data from an automated tool are provided. One important result is that class-level mutation operators yield far more equivalent mutants than traditional, statement-level, operators. Another is that there are far fewer class-level mutants than statement-level mutants. Together, these data suggest that mutation for inter-class testing can be practically affordable.