We are getting false positive issues on the Java rule "Branches should have sufficient coverage by unit tests" when using try-with-resources syntax. I think this might be caused by Jacoco issue #82. Essentially javac is generating byte code with extra branches that aren't exposed for unit testing. Is there a recommended way to deal with this in SonarQube?
--
You received this message because you are subscribed to the Google Groups "SonarQube" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sonarqube+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sonarqube/05ef10bb-6ce8-4563-8858-b38a2fbf518a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.