diff --git a/src/main/resources/org/jpeek/metrics/CCM.xsl b/src/main/resources/org/jpeek/metrics/CCM.xsl index acc5795a..2baece98 100644 --- a/src/main/resources/org/jpeek/metrics/CCM.xsl +++ b/src/main/resources/org/jpeek/metrics/CCM.xsl @@ -31,11 +31,11 @@ SOFTWARE. Class Connection Metric (CCM) is based on the connection graph of a class where each node is a method and there exists an "edge" or connection between nodes if either both nodes access the - same attribute of a class, or if both call another method of the + same attribute of a class, or if both call the same method of the class. The formula is defined as CCM = NC/(NMP x NCC), where NC = number of connections according to the previous criteria, NMP = maximum number of possible connections (NMP = (N x (N - 1))/2), - and NCC = number of connected nodes. + and NCC = number of connected components.