Skip to main content

Table 17 Descriptive statistics of the unit test case metrics (Univariate clustering - LOC)

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

LOC Cluster 1 Cluster 2 Cluster 3 Cluster 4 Cluster 5
Nb. Obs. 707 236 53 26 5
TLOC Min 6 8 23 16 323
Max 1620 2035 2624 2379 4063
Mean (μ) 93.92 193.04 406.76 437.58 1344.8
Std. Dev (σ)) 124.39 287.19 658.85 516.76 1407.67
Coef. of var (C v = σ/μ) 1.324 1.488 1.62 1.181 1.047
TASSERT Min 0 0 1 1 79
Max 615 1058 1156 528 329
Mean (μ) 20.45 49.39 142.28 129.73 146.8
Std. Dev (σ) 40.98 107.48 269.95 153.84 92.81
Coef. of var (C v = σ/μ) 2.004 2.176 1.897 1.186 0.632
TDATA Min 0 0 0 0 9
Max 482 326 482 323 758
Mean (μ) 13.11 30.42 56.93 47.65 214.8
Std. Dev (σ) 27.33 53.84 108.95 68.07 275.09
Coef. of var (C v = σ/μ) 2.085 1.77 1.914 1.428 1.281
TINVOK Min 0 2 1 2 17
Max 175 327 401 138 516
Mean (μ) 27.08 44.64 75.60 58.85 157
Std. Dev (σ) 26.94 42.80 92.46 40.06 182.80
Coef. of var (C v = σ/μ) 0.995 0.959 1.223 0.681 1.164
TNOO Min 0 1 1 1 3
Max 164 156 242 94 148
Mean (μ) 6.86 13.19 33.40 22.69 42.6
Std. Dev (σ) 11.68 23.99 60.92 23.50 53.45
Coef. of var (C v = σ/μ) 1.704 1.82 1.824 1.035 1.255