Centre for Software Reliability

Results for: 00191, Intersection

Main parameters

Parameter C C++ Pascal Total
Number of submissions (AC, WA, or PE) 1665 3171 867 5703
Number of authors 448 851 264 1563
First submission correct 73 166 41 280
Last submission correct 204 426 85 715
Average number of trials per author 3.72 3.73 3.28 3.65
Average number of trials per author (excluding submissions after a correct one) 3.35 3.35 3.07 3.31
Average number of trials to correct submission 3.47 3.5 3.38 3.47
Number of different equivalence classes 522 890 318 1562
Number of different score functions 488 813 294 1428
Number of different equivalence classes in authors' first submissions 210 376 140 649
Number of different score functions in authors' first submissions 196 349 133 600

Parameters of the C/C++ submissions

Parameter All, 1>pfd (N=1284) Correct (N=246) 0.1>=pfd>0 (N=385) 1>pfd>0.1 (N=653)
Mean SD Mean SD Mean SD Mean SD
FileSize 1940 1240 2180 833 2050 1580 1780 1110
LOC 73.6 43 79.9 29.6 76.7 55.1 69.4 38.4
#Comment lines 4.45 8.35 5.63 7.35 4.87 10.2 3.75 7.41
Halstead, Volume 3570 2200 3870 1280 3790 2890 3330 1960
McCabe, CC 17.9 10.5 19.1 7.81 18.5 13.4 17.2 9.22

Correlations between parameters of correct C/C++ submissions

# Comment HalsteadMcCabe
Filesize LOC lines Volume CC
FileSize 10.8110.7170.7390.254
LOC 0.81110.4630.7020.493
#Comment lines 0.7170.46310.3810.0366
Halstead, Volume 0.7390.7020.38110.328
McCabe, CC 0.2540.4930.03660.3281

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

# Comment HalsteadMcCabe
Filesize LOC lines Volume CC
PFD -0.132-0.123-0.0984-0.111-0.126
Defects -0.108-0.0848-0.0444-0.116-0.0571

Effect of diversity

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

Effect of Language diversity

Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
C/C: 13
C/C++: 29.5
C/Pascal: 27.8
Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
C++/C: 29.5
C++/C++: 34.8
C++/Pascal: 43.4
Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
Pascal/C: 27.8
Pascal/C++: 43.4
Pascal/Pascal: 13.7

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

Page automatically generated on Mon Jan 22 11:48:01 2007