Skip to main content

Table 18 Descriptive statistics of the unit test case metrics (Univariate clustering - WMC)

From: A metrics suite for JUnit test code: a multiple case study on open source software

WMC Cluster 1 Cluster 2 Cluster 3 Cluster 4 Cluster 5
Nb. Obs. 632 279 93 18 5
TLOC Min 6 8 20 16 408
Max 1358 1745 2624 2280 4063
Mean (μ) 83.97 175.68 375.18 473.28 1224.6
Std. Dev (σ) 109.76 234.83 585.26 548.94 1422.32
Coef. of var (C v = σ/μ) 1.307 1.337 1.56 1.16 1.161
TASSERT Min 0 0 0 1 104
Max 528 615 1156 832 391
Mean (μ) 17.57 42.33 120.12 143.67 217.4
Std. Dev (σ) 36.70 76.55 232.38 197.31 118.50
Coef. of var (C v = σ/μ) 2.089 1.808 1.935 1.373 0.545
TDATA Min 0 0 0 1 19
Max 161 482 482 323 758
Mean (μ) 10.90 27.34 54.66 59 223.2
Std. Dev (σ) 16.16 52.08 94.16 93.15 270.37
Coef. of var (C v = σ/μ) 1.483 1.905 1.723 1.579 1.211
TINVOK Min 0 1 1 6 82
Max 154 216 401 323 516
Mean (μ) 25.67 39.88 66.95 82.39 188.4
Std. Dev (σ) 25.55 35.83 75.98 71.34 165.06
Coef. of var (C v = σ/μ) 0.995 0.898 1.135 0.866 0.876
TNOO Min 0 1 1 1 11
Max 82 164 242 188 148
Mean (μ) 5.76 12.92 26.55 33.5 44
Std. Dev (σ) 7.64 21.94 49.65 45.04 52.21
Coef. of var (C v = σ/μ) 1.328 1.698 1.87 1.345 1.187