DocumentCode
2376265
Title
Correlations between Internal Software Metrics and Software Dependability in a Large Population of Small C/C++ Programs
Author
van der Meulen, M.J.P. ; Revilla, Miguel A.
Author_Institution
City Univ., London
fYear
2007
fDate
5-9 Nov. 2007
Firstpage
203
Lastpage
208
Abstract
Software metrics are often supposed to give valuable information for the development of software. In this paper we focus on several common internal metrics: Lines of Code, number of comments, Halstead Volume and McCabe´s Cyclomatic Complexity. We try to find relations between these internal software metrics and metrics of software dependability: Probability of Failure on Demand and number of defects. The research is done using 59 specifications from a programming competition---The Online Judge--on the internet. Each specification provides us between 111 and 11,495programs for our analysis; the total number of programs used is 71,917. We excluded those programs that consist of a look-up table. The results for the Online Judge programs are: (1) there is a very strong correlation between Lines of Code and Hal- stead Volume; (2) there is an even stronger correlation between Lines of Code and McCabe´s Cyclomatic Complexity; (3) none of the internal software metrics makes it possible to discern correct programs from incorrect ones; (4) given a specification, there is no correlation between any of the internal software metrics and the software dependability metrics.
Keywords
C++ language; correlation methods; probability; software metrics; C programs; C++ program; Halstead volume; correlation method; cyclomatic complexity; internal software metrics; look-up table; probability; software dependability; Decision making; Internet; Java; Mathematics; Phase frequency detector; Predictive models; Reliability engineering; Software metrics; Software reliability; Table lookup;
fLanguage
English
Publisher
ieee
Conference_Titel
Software Reliability, 2007. ISSRE '07. The 18th IEEE International Symposium on
Conference_Location
Trollhattan
ISSN
1071-9458
Print_ISBN
978-0-7695-3024-6
Type
conf
DOI
10.1109/ISSRE.2007.12
Filename
4402211
Link To Document