Centre for Software Reliability

Results for: 10183, Fibs

Main parameters

Parameter C C++ Pascal Total
Number of submissions (AC, WA, or PE) 421 1003 130 1554
Number of authors 155 416 56 627
First submission correct 84 231 33 348
Last submission correct 140 370 43 553
Average number of trials per author 2.72 2.41 2.32 2.48
Average number of trials per author (excluding submissions after a correct one) 2.07 1.95 1.88 1.98
Average number of trials to correct submission 2.03 1.89 1.6 1.9
Number of different equivalence classes 81 156 33 232
Number of different score functions 61 101 27 153
Number of different equivalence classes in authors' first submissions 42 83 19 121
Number of different score functions in authors' first submissions 30 53 15 76

Parameters of the C/C++ submissions

Parameter All, 1>pfd (N=563) Correct (N=356) 0.1>=pfd>0 (N=138) 1>pfd>0.1 (N=69)
Mean SD Mean SD Mean SD Mean SD
FileSize 3270 5050 3120 4680 3940 6010 2680 4750
LOC 128 132 127 125 144 166 105 85.2
#Comment lines 7.17 18 6.68 17.3 9.58 22.2 4.86 10.1
Halstead, Volume 5190 5900 5110 5540 5680 6870 4640 5580
McCabe, CC 29.4 30.4 29.7 32.9 31.1 29.3 24.4 15.7

Correlations between parameters of correct C/C++ submissions

# Comment HalsteadMcCabe
Filesize LOC lines Volume CC
FileSize 10.8850.4690.750.676
LOC 0.88510.5750.9270.672
#Comment lines 0.4690.57510.6220.407
Halstead, Volume 0.750.9270.62210.728
McCabe, CC 0.6760.6720.4070.7281

Correlations between parameters and pfd/defects of C/C++ submissions

# Comment HalsteadMcCabe
Filesize LOC lines Volume CC
PFD -0.0506-0.0724-0.0471-0.051-0.0719
Defects 0.06380.05270.06160.0510.0172

Effect of diversity

Average reliability improvement for 0.001<=pfd<=0.01: 22.7

Effect of Language diversity

Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
C/C: 19.8
C/C++: 22.7
C/Pascal: 25
Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
C++/C: 22.7
C++/C++: 23.6
C++/Pascal: 29.9
Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
Pascal/C: 25
Pascal/C++: 29.8
Pascal/Pascal: 26

Page maintained by: mjpm@csr.city.ac.uk

Page automatically generated on Mon Jan 22 13:39:43 2007