Skip to content

Commit

Permalink
moved cmm stuff into ccm class
Browse files Browse the repository at this point in the history
  • Loading branch information
starkda committed Mar 21, 2024
1 parent c9293ab commit fd730b6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jpeek/calculus/java/Ccm.java
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ private static Node createPackageTag(final Document doc, final Node packages) {
* @param doc The XML document to which the class tag will be added
* @param classes The node representing the class
* @return The class tag element created in the XML document
* @todo Implement method that would return connected components
* @todo #522:30m/DEV Implement method that would return connected components
*/
private static Node createClassTag(final Document doc, final Node classes) {
final NamedNodeMap map = classes.getAttributes();
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/org/jpeek/metrics/CCM.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ SOFTWARE.
<xsl:copy>
<xsl:variable name="nc" select="count($edges/edge)"/>
<!--
@todo add capture ncc value from skeleton
@todo #522:15m/DEV add capture ncc value from skeleton
-->
<xsl:variable name="ncc" select="count(distinct-values($edges/edge/method/text()))"/>
<xsl:variable name="nmp" select="(count($methods) * (count($methods) - 1)) div 2"/>
Expand Down

0 comments on commit fd730b6

Please sign in to comment.