|
Selected publications by date
Selected publications by category
|
|   |
An Empirical Investigation of the Relationship Between Spectra Differences and Regression Faults
Journal of Software Testing, Verification, and
Reliability
to appear
Mary Jean Harrold, Gregg Rothermel, Kent Sayre, Rui Wu, and Liu Yi
Abstract
Many software maintenance and testing tasks involve
comparing the behaviors of program versions.
Program spectra have recently been proposed as a
heuristic for use in performing such comparisons.
To assess the potential usefulness of spectra in
this context an experiment was conducted, examining
the relationship between differences in program
spectra and the exposure of regression faults
(faults existing in a modified version of a program
that were not present prior to modifications, or
not revealed in previous testing),
and empirically comparing several types of spectra.
The results reveal that certain types of spectra
differences correlate with high frequency --- at least
in one direction --- with the exposure of regression faults.
That is, when regression faults are revealed by particular
inputs, spectra differences are likely also to be
revealed by those inputs, though the reverse is not true.
The results also suggest that several types of spectra
that appear, analytically, to offer greater precision
in predicting the presence of regression faults than other,
cheaper, spectra may provide no greater precision in practice.
These results have ramifications for future research
on, and for the practical uses of, program spectra.
|