Benjamin Asbach created NETBEANS-3926:
-----------------------------------------
Summary: Total code coverage does not match class coverage when
using lombok.addLombokGeneratedAnnotation
Key: NETBEANS-3926
URL: https://issues.apache.org/jira/browse/NETBEANS-3926
Project: NetBeans
Issue Type: Bug
Components: maven - codecoverage
Reporter: Benjamin Asbach
Attachments: image-2020-02-28-14-33-04-551.png,
netbeans-integrations-code-coverage.zip
Project:
* maven
* jacoco report
* lombok
When activating `lombok.addLombokGeneratedAnnotation` in a project in order to
prevent jacoco from marking the generated methods as untested the total test
coverage in NetBeans does not match with the class coverage.
I guess the problem is caused due the fact that jacoco does not shoe these
classes in their reports. Since NetBeans does not use the reports list of
classes there's a mismatch between total test coverage and class test coverage.
!image-2020-02-28-14-33-04-551.png!
The attached project can be used to reproduce the problem.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists