Centre for Software Reliability

Results for: 10271, Chopsticks

Main parameters

Parameter C C++ Pascal Total
Number of submissions (AC, WA, or PE) 140 337 68 545
Number of authors 44 127 38 209
First submission correct 26 85 31 142
Last submission correct 38 109 33 180
Average number of trials per author 3.18 2.65 1.79 2.61
Average number of trials per author (excluding submissions after a correct one) 1.63 1.49 1.36 1.49
Average number of trials to correct submission 1.63 1.47 1.18 1.45
Number of different equivalence classes 32 56 11 82
Number of different score functions 29 43 7 64
Number of different equivalence classes in authors' first submissions 16 39 8 54
Number of different score functions in authors' first submissions 15 32 6 43

Parameters of the C/C++ submissions

Parameter All, 1>pfd (N=169) Correct (N=114) 0.1>=pfd>0 (N=15) 1>pfd>0.1 (N=40)
Mean SD Mean SD Mean SD Mean SD
FileSize 1140 571 1050 472 1610 904 1220 593
LOC 47.6 20.9 42.6 15.6 71 29.2 53 23.6
#Comment lines 4.49 7.34 4.63 7.7 5.2 7.41 3.8 6.28
Halstead, Volume 2180 1060 2090 1120 3040 932 2130 789
McCabe, CC 11.3 4.63 10.2 3.09 18.7 7.3 11.7 4.56

Correlations between parameters of correct C/C++ submissions

# Comment HalsteadMcCabe
Filesize LOC lines Volume CC
FileSize 10.6990.5670.7940.318
LOC 0.69910.05870.7840.572
#Comment lines 0.5670.058710.1260.107
Halstead, Volume 0.7940.7840.12610.279
McCabe, CC 0.3180.5720.1070.2791

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

# Comment HalsteadMcCabe
Filesize LOC lines Volume CC
PFD 0.05160.0814-0.00229-0.04180.0376
Defects 0.140.1880.03150.02820.189

Effect of diversity

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

Effect of Language diversity

Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
C/C: 24
C/C++: 39.3
C/Pascal: 44.1
Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
C++/C: 39.3
C++/C++: 33.2
C++/Pascal: 39.3
Average reliability improvement for 0.001<=pfd<=0.01
(in the range where all exist):
Pascal/C: 44.1
Pascal/C++: 39.3
Pascal/Pascal: 24.9

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

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