Skip to main content

Table 15 Descriptive statistics of the unit test case metrics (K-means clustering)

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

  Cluster 1 Cluster 2 Cluster 3 Cluster 4 Cluster 5
Nb. Obs. 587 267 118 38 17
TLOC Min 6 8 10 16 18
Max 1280 2035 2236 2624 4063
Mean (μ) 84.78 146.99 289.71 399.08 779.59
Std. Dev (σ) 110.60 208.20 434.08 605.59 996.46
Coef. of var (C v = σ/μ) 1.304 1.416 1.498 1.517 1.278
TASSERT Min 0 0 0 1 2
Max 329 1058 1014 1156 396
Mean (μ) 17.76 36.88 84.70 130.40 149.35
Std. Dev (σ) 34.36 86.89 165.35 243.50 136.26
Coef. of var (C v = σ/μ) 1.935 2.356 1.952 1.867 0.912
TDATA Min 0 0 0 0 0
Max 324 482 393 482 758
Mean (μ) 11.64 22.31 43.62 56.79 98.94
Std. Dev (σ) 21.62 44.61 75.64 106.23 172.48
Coef. of var (C v = σ/μ) 1.857 2 1.734 1.871 1.743
TINVOK Min 0 2 1 6 2
Max 175 192 401 399 516
Mean (μ) 26.28 34.34 60.75 72.87 86.29
Std. Dev (σ) 27.04 31.10 61.49 84.23 114.92
Coef. of var (C v = σ/μ) 1.029 0.906 1.012 1.156 1.332
TNOO Min 0 1 1 1 3
Max 153 164 242 238 148
Mean (μ) 6.19 10.27 21.09 30.74 29.65
Std. Dev (σ) 10.38 17.74 39.20 53.56 35.95
Coef. of var (C v = σ/μ) 1.678 1.728 1.859 1.743 1.213