Predicting fault-prone software modules in telephone switches

被引:185
作者
Ohlsson, N [1 ]
Alberg, H [1 ]
机构
[1] ERICSSON UTVECKLINGS AB, AXE SYST MANAGEMENT, S-12525 ALVSJO, SWEDEN
关键词
complexity; empirical study; fault-prone modules; metrics; prediction; software measurement; regression analysis; software reliability; statistical analysis;
D O I
10.1109/32.553637
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
An empirical study was carried out at Ericsson Telecom As to investigate the relationship between several design metrics and the number of function test failure reports associated with software modules. A tool, ERIMET, was developed to analyze the design documents automatically. Preliminary results from the study of 130 modules showed that: 1) based on fault and design data one can satisfactorily build, before coding has started, a prediction model for identifying the most fault-prone modules. The data analyzed show that 20 percent of the most fault-prone modules account for 60 percent of all faults. The prediction model built in this paper would have identified 20 percent of the modules accounting for 47 percent of all faults; 2) at least four design measures can alternatively be used as predictors with equivalent performance; 3) size (with respect to the number of lines of code) used in a previous prediction model was not significantly better than these four measures; and 4) the Alberg diagram introduced in this paper offers a way of assessing a predictor based on historical data, which is a valuable complement to linear regression when prediction data is ordinal. Applying the method described in this paper makes it possible to use measures at the design phase to predict the most fault-prone modules.
引用
收藏
页码:886 / 894
页数:9
相关论文
共 32 条
[1]  
ALBERG H, 1993, NORD TEL SEM STOCKH
[2]  
[Anonymous], MANAGERIAL BREAKTHRO
[3]  
[Anonymous], KVALITET FRAN BEHOV
[4]  
Bates D.M., 1988, Nonlinear regression analysis and its applications, V1st
[5]   SCIENCE AND SUBSTANCE - A CHALLENGE TO SOFTWARE ENGINEERS [J].
FENTON, N ;
PFLEEGER, SL ;
GLASS, RL .
IEEE SOFTWARE, 1994, 11 (04) :86-95
[6]  
FENTON NE, 1995, CSR1002 CIT U CTR SO
[7]  
Fenton Norman E., 1991, SOFTWARE METRICS RIG
[8]   DESIGN METRICS AND AIDS TO THEIR AUTOMATIC COLLECTION [J].
HEITKOETTER, U ;
HELLING, B ;
NOLTE, H ;
KELLY, M .
INFORMATION AND SOFTWARE TECHNOLOGY, 1990, 32 (01) :79-87
[9]  
HOWELL DC, 1987, STATISTICAL METHODS
[10]  
INCE DC, 1988, P SOFTWARE ENG 88, P23