Using In-Process Metrics to Predict Defect Density in Haskell Programs

In late-stage phases of development, action to correct defects can be cost prohibitive. Effective, efficient, and expressive measures of reliability during the development cycle could aid developers by providing early warning signs of where the system might require modification or further testing. To this end, this paper presents a method for estimating defect density in a system using a suite of internal metrics for Haskell programs. A feasibility study of this method was conducted by analyzing the source code of seven released versions of the Glasgow Haskell Compiler. Further studies are being conducted to refine the metric suite and to examine the potential of the method.

[1]  Mladen A. Vouk,et al.  Resource-constrained non-operational testing of software , 1998, Proceedings Ninth International Symposium on Software Reliability Engineering (Cat. No.98TB100257).

[2]  Klaas Gerrit van den Berg,et al.  Software measurement and functional programming , 1995 .

[3]  Thomas Hallgren Haskell tools from the programatica project , 2003, Haskell '03.

[4]  Mladen A. Vouk,et al.  Towards a Metric Suite for Early Software Reliability Assessment , 2003 .

[5]  Laurie A. Williams,et al.  GERT: an empirical reliability estimation and testing feedback tool , 2004, 15th International Symposium on Software Reliability Engineering.

[6]  Taghi M. Khoshgoftaar,et al.  The lines of code metric as a predictor of program faults: a critical analysis , 1990, Proceedings., Fourteenth Annual International Computer Software and Applications Conference.