Skip to main content

Table 22 Correlations between metrics (Pearson)

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

Metrics TLOC ASSERT TDATA TINVOK TNOO LOC WMC CBO
TLOC 1 0.866 0.881 0.778 0.887 0.449 0.459 0.180
TASSERT 0.866 1 0.765 0.706 0.891 0.312 0.343 0.149
TDATA 0.881 0.765 1 0.703 0.828 0.364 0.420 0.148
TINVOK 0.778 0.706 0.703 1 0.776 0.360 0.436 0.224
TNOO 0.887 0.891 0.828 0.776 1 0.284 0.326 0.127
LOC 0.449 0.312 0.364 0.360 0.284 1 0.885 0.684
WMC 0.459 0.343 0.420 0.436 0.326 0.885 1 0.715
CBO 0.180 0.149 0.148 0.224 0.127 0.684 0.715 1