Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
starkda committed Mar 25, 2024
1 parent 6bbc1ee commit 8084432
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/main/resources/org/jpeek/metrics/CCM.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -151,14 +151,15 @@ SOFTWARE.
<xsl:param name="x" as="element()"/>
<xsl:param name="seen"/>
<xsl:param name="graph"/>
<xsl:variable name="used" select="concat($seen, $x/@id)"/>
<xsl:for-each select="$x/edge">
<xsl:variable name="r" select="."/>
<xsl:if test="not(contains($seen, $r/text()))">
<xsl:if test="not(contains($used, $r/text()))">
<xsl:element name="edge">
<xsl:value-of select="$r"/>
</xsl:element>
<xsl:call-template name="group">
<xsl:with-param name="seen" select="concat($seen, $r/text())"/>
<xsl:with-param name="seen" select="$used"/>
<xsl:with-param name="x" select="$graph/node[@id=$r][1]"/>
<xsl:with-param name="graph" select="$graph"/>
</xsl:call-template>
Expand Down

0 comments on commit 8084432

Please sign in to comment.