aboutsummaryrefslogtreecommitdiff
path: root/org.jacoco.doc/docroot
diff options
context:
space:
mode:
authorMarc R. Hoffmann <hoffmann@mountainminds.com>2017-05-18 21:07:07 +0200
committerMarc R. Hoffmann <hoffmann@mountainminds.com>2017-05-18 21:07:07 +0200
commit129201d6413ce5a2fcde03e7af58eb989ba8625a (patch)
treeba4ec5d3d844fa97ccdb31a31ca3574ad6f124e6 /org.jacoco.doc/docroot
parentc39e3d26cc91c7968377382be00515d103af2a44 (diff)
downloadjacoco-129201d6413ce5a2fcde03e7af58eb989ba8625a.tar.gz
Update documentation for limit configuration as percent.
Diffstat (limited to 'org.jacoco.doc/docroot')
-rw-r--r--org.jacoco.doc/docroot/doc/ant.html8
-rw-r--r--org.jacoco.doc/docroot/doc/changes.html3
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">
&lt;check&gt;
&lt;rule element="PACKAGE"&gt;
- &lt;limit counter="LINE" value="COVEREDRATIO" minimum="0.80"/&gt;
+ &lt;limit counter="LINE" value="COVEREDRATIO" minimum="80%"/&gt;
&lt;limit counter="CLASS" value="MISSEDCOUNT" maximum="0"/&gt;
&lt;/rule&gt;
&lt;/check&gt;
@@ -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>