[ 
https://issues.apache.org/jira/browse/OAK-12397?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18115529#comment-18115529
 ] 

Julian Reschke commented on OAK-12397:
--------------------------------------

Yes, absolutely. Why would we enforce something that relies on Sonar running in 
Github?

Be careful with AI. It is much simpler:


{noformat}
diff --git a/oak-commons/pom.xml b/oak-commons/pom.xml
index 2ef7656f07..3e10e9f766 100644
--- a/oak-commons/pom.xml
+++ b/oak-commons/pom.xml
@@ -34,8 +34,8 @@
   <properties>
     <!-- enable execution of jacoco and set minimal line coverage -->
     <skip.coverage>false</skip.coverage>
-    <minimum.line.coverage>0.71</minimum.line.coverage>
-    <minimum.branch.coverage>0.67</minimum.branch.coverage>
+    <minimum.line.coverage>0.77</minimum.line.coverage>
+    <minimum.branch.coverage>0.72</minimum.branch.coverage>
   </properties>
   <build>
  {noformat}
 

> Enforce test coverage
> ---------------------
>
>                 Key: OAK-12397
>                 URL: https://issues.apache.org/jira/browse/OAK-12397
>             Project: Jackrabbit Oak
>          Issue Type: Task
>            Reporter: Julian Reschke
>            Assignee: Julian Reschke
>            Priority: Minor
>         Attachments: global-coverage-check.txt
>
>
> Now that we have Sonar complaining about code coverage <80% for new code, I'd 
> like to restart enforcing that coverage does not go down (and also regularly 
> bump the coverage target once it improves)



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to