Indirect method calls not being covered

18 views
Skip to first unread message

roh....@gmail.com

unread,
Jun 21, 2020, 1:51:57 PM6/21/20
to JaCoCo and EclEmma Users
I am using jacoco-maven-plugin [0.6.4.201312101107,),sonar-mavenplugin 3.3.0.603,maven-surefire-plugin 2.14.1 and facing an issue with indirect coverage i.e. Class A calls Class B (dao class),there are unit tests in class A which run Class b code but there are no unit tests in class B as such ,so indirectly the code is being covered but it does not consider Class B in coverage at all and shows 0% against it ,both the classes are in different modules.

Tried quite a few things like report-aggregate but nothing seems to work.Appreciate any help on this.

Some solutions talkabout cross module coverage but they have tests in both the modules but in my case the class in other module does not have any tests at all.

roh....@gmail.com

unread,
Jun 26, 2020, 4:39:17 AM6/26/20
to JaCoCo and EclEmma Users
Are these form still being maintained by someone ?Can somebody please reply to this?
Reply all
Reply to author
Forward
0 new messages