Publication | Closed Access
A model for spectra-based software diagnosis
514
Citations
40
References
2011
Year
Software MaintenanceSoftware Reliability TestingEngineeringDiagnosisSoftware EngineeringSiemens Test SuiteSystem DiagnosisSoftware AnalysisReliability EngineeringData ScienceFault AnalysisFault LocalisationSystems EngineeringReliabilityComputer ScienceProblem DiagnosisStatic Program AnalysisAutomated RepairSoftware DesignProgram StatementsFault InjectionProgram AnalysisSoftware TestingSpectra-based Software DiagnosisSystem Software
This article presents an improved approach to assist diagnosis of failures in software (fault localisation) by ranking program statements or blocks in accordance with to how likely they are to be buggy. We present a very simple single-bug program to model the problem. By examining different possible execution paths through this model program over a number of test cases, the effectiveness of different proposed spectral ranking methods can be evaluated in idealised conditions. The results are remarkably consistent to those arrived at empirically using the Siemens test suite and Space benchmarks. The model also helps identify groups of metrics that are equivalent for ranking. Due to the simplicity of the model, an optimal ranking method can be devised. This new method out-performs previously proposed methods for the model program, the Siemens test suite and Space. It also helps provide insight into other ranking methods.
| Year | Citations | |
|---|---|---|
Page 1
Page 1