Skip to main content

Table 14 Descriptive statistics of the internal class attribute 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
CBO Min 0 0 0 4 3
Max 44 68 57 92 111
Mean (μ) 6.06 14.461 24.56 43.03 43.71
Std. Dev (σ) 5.42 10.03 12.33 19.90 28.83
LOC Min 2 124 292 592 1134
Max 128 288 562 1039 2644
Mean (μ) 61.57 192.56 387.11 770.45 1458.24
Std. Dev (σ) 33.27 48.30 77.07 134.68 406.54
WMC Min 0 3 16 10 10
Max 86 98 157 231 557
Mean (μ) 13.33 38.69 77.86 137.34 224.29
Std. Dev (σ) 8.68 13.99 22.52 48.71 154.63