Skip to content

Commit

Permalink
#59 swap
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Nov 19, 2017
1 parent 0d4e000 commit 3ccc228
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/main/java/org/jpeek/App.java
Expand Up @@ -95,7 +95,7 @@ public void analyze() throws IOException {
final Base base = new DefaultBase(this.input);
final Iterable<Report> reports = new ListOf<>(
new Report(new CAMC(base), 0.10d, 0.35d),
new Report(new LCOM(base), 15.0d, 5.0d),
new Report(new LCOM(base), 15.0d, 3.0d),
new Report(new OCC(base), 0.85d, 0.25d),
new Report(new NHD(base), 0.55d, 0.15d),
new Report(new LCOM2(base), 0.75d, 0.25d),
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/org/jpeek/colors.xsl
Expand Up @@ -56,10 +56,10 @@ SOFTWARE.
</xsl:when>
<xsl:otherwise>
<xsl:choose>
<xsl:when test="@value &lt; $low">
<xsl:when test="@value &lt; $high">
<xsl:text>green</xsl:text>
</xsl:when>
<xsl:when test="@value &gt; $high">
<xsl:when test="@value &gt; $low">
<xsl:text>red</xsl:text>
</xsl:when>
<xsl:otherwise>
Expand Down

0 comments on commit 3ccc228

Please sign in to comment.