Skip to content

Commit

Permalink
#447 Make CCM description more precise
Browse files Browse the repository at this point in the history
  • Loading branch information
victornoel committed Apr 16, 2020
1 parent ba8265e commit 6209215
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/resources/org/jpeek/metrics/CCM.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -31,11 +31,11 @@ SOFTWARE.
<xsl:text>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.</xsl:text>
and NCC = number of connected components.</xsl:text>
</description>
<xsl:apply-templates select="node()"/>
</metric>
Expand Down

0 comments on commit 6209215

Please sign in to comment.