diff options
author | Marc R. Hoffmann <hoffmann@mountainminds.com> | 2017-05-18 21:31:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-18 21:31:41 +0200 |
commit | 938b0b4e0226f64ce7c5fac66a94fdb5d18f3f67 (patch) | |
tree | ba4ec5d3d844fa97ccdb31a31ca3574ad6f124e6 /org.jacoco.doc | |
parent | 60b82f23c20c3ce18dad74ea6c3d37233aae4fd7 (diff) | |
parent | 129201d6413ce5a2fcde03e7af58eb989ba8625a (diff) | |
download | jacoco-938b0b4e0226f64ce7c5fac66a94fdb5d18f3f67.tar.gz |
Merge pull request #536 from mattnelson/percentages
Support limit ratios as percents (#534)
Diffstat (limited to 'org.jacoco.doc')
-rw-r--r-- | org.jacoco.doc/docroot/doc/ant.html | 8 | ||||
-rw-r--r-- | org.jacoco.doc/docroot/doc/changes.html | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/org.jacoco.doc/docroot/doc/ant.html b/org.jacoco.doc/docroot/doc/ant.html index 2e463d68..af070680 100644 --- a/org.jacoco.doc/docroot/doc/ant.html +++ b/org.jacoco.doc/docroot/doc/ant.html @@ -745,7 +745,7 @@ <pre class="source lang-xml linenums"> <check> <rule element="PACKAGE"> - <limit counter="LINE" value="COVEREDRATIO" minimum="0.80"/> + <limit counter="LINE" value="COVEREDRATIO" minimum="80%"/> <limit counter="CLASS" value="MISSEDCOUNT" maximum="0"/> </rule> </check> @@ -858,12 +858,14 @@ <td><code>minimum</code></td> <td>Expected minimum value. If the minimum refers to a ratio the range is from 0.0 to 1.0 where the number of decimal places will also determine - the precision in error messages.</td> + the precision in error messages. A limit ratio may optionally be + declared as a percentage where 0.80 and 80% represent the same value, + the value must end with %.</td> <td><i>none</i></td> </tr> <tr> <td><code>maximum</code></td> - <td>Expected maximum value.</td> + <td>Expected maximum value, see <code>minimum</code> for details.</td> <td><i>none</i></td> </tr> </tbody> diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html index 8d2e4f8c..e8a940c6 100644 --- a/org.jacoco.doc/docroot/doc/changes.html +++ b/org.jacoco.doc/docroot/doc/changes.html @@ -22,6 +22,9 @@ <h3>New Features</h3> <ul> + <li>Limit configuration of Maven check goal and Ant check element now also + supports percentage values + (GitHub <a href="https://github.com/jacoco/jacoco/issues/534">#534</a>).</li> <li>Exclude from a report enum methods <code>valueOf</code> and <code>values</code> that are created by compiler (GitHub <a href="https://github.com/jacoco/jacoco/issues/491">#491</a>).</li> |