| | |
Summary: TO APPEAR IN Proceedings Automated Software Engineering 2001 Conference (ASE 2001), NOV. 2001. 1
A Technique for Mutation of Java Objects
James M. Bieman Sudipto Ghosh Roger T. Alexander
Computer Science Department
Colorado State University
Fort Collins CO 80523, USA
fbieman, ghosh, rtag@cs.colostate.edu
Abstract
Mutation analysis inserts faults into a program to create
test sets that distinguish the mutant from the original pro-
gram. Inserted faults must represent plausible errors. Stan-
dard transformations can mutate scalar values such as in-
tegers, floats, and character data. Mutating objects is an
open problem, because object semantics are defined by the
programmer and can vary widely. We develop mutation op-
erators and support tools that can mutate Java library items
that are heavily used in commercial software. Our mutation
engine can support reusable libraries of mutation compo-
nents to inject faults into objects that instantiate items from
these common Java libraries. Our technique should be ef-
|