You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by th...@apache.org on 2019/10/21 04:52:52 UTC

[commons-dbutils] 03/05: Configure to current coverage metrics

This is an automated email from the ASF dual-hosted git repository.

thecarlhall pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-dbutils.git

commit d72dd25680a6b98d4c2e954198c6d794d5aa92f3
Author: Carl Hall <th...@apache.org>
AuthorDate: Sun Oct 20 21:44:39 2019 -0700

    Configure to current coverage metrics
    
    Start with this configuration and increase to more acceptable levels as
    contributions improve tests.
---
 pom.xml | 11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

diff --git a/pom.xml b/pom.xml
index b436af2..9f57496 100644
--- a/pom.xml
+++ b/pom.xml
@@ -326,12 +326,17 @@
             <configuration>
               <rules>
                 <rule>
-                  <element>PACKAGE</element>
+                  <element>BUNDLE</element>
                   <limits>
                     <limit>
-                      <counter>LINE</counter>
+                      <counter>INSTRUCTION</counter>
                       <value>COVEREDRATIO</value>
-                      <minimum>0.9</minimum>
+                      <minimum>0.6</minimum>
+                    </limit>
+                    <limit>
+                      <counter>CLASS</counter>
+                      <value>MISSEDCOUNT</value>
+                      <maximum>8</maximum>
                     </limit>
                   </limits>
                 </rule>