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 4443ead commit e0f8a2f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions src/main/java/org/jpeek/calculus/java/Ccm.java
Original file line number Diff line number Diff line change
Expand Up @@ -197,8 +197,7 @@ private static Node createPackageTag(final Document doc, final Node packages) {
* @param classes The node representing the class
* @return The class tag element created in the XML document
* @todo #522:30m/DEV Implement method that would build graph where methods are nodes and
* field references are edges and find connected components in that graph.
*
* field references are edges and find connected components in that graph.
*/
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 @@ -64,7 +64,7 @@ SOFTWARE.
<xsl:variable name="nc" select="count($edges/edge)"/>
<!--
@todo #522:15m/DEV ncc is already calculated during skeleton build. It has to be captured
from that skeleton and put into the corresponding variable
from that skeleton and put into the corresponding variable
-->
<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 e0f8a2f

Please sign in to comment.