From 129201d6413ce5a2fcde03e7af58eb989ba8625a Mon Sep 17 00:00:00 2001 From: "Marc R. Hoffmann" Date: Thu, 18 May 2017 21:07:07 +0200 Subject: Update documentation for limit configuration as percent. --- org.jacoco.doc/docroot/doc/ant.html | 8 +++++--- org.jacoco.doc/docroot/doc/changes.html | 3 +++ 2 files changed, 8 insertions(+), 3 deletions(-) (limited to 'org.jacoco.doc') 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 @@
 <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 @@
       minimum
       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.
+          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 %.
       none
     
     
       maximum
-      Expected maximum value.
+      Expected maximum value, see minimum for details.
       none
     
   
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 @@
 
 

New Features