Understanding the jacoco report
This is a sample jacoco report for a class. I want to understand what these column values ββmean and what do the M and C in each column mean? In addition, it is the appropriate column for checking the correct coverage for a given class and its methods. Do I have to go with an instruction or line cover? What is the ideal percentage of coverage for a class?
Linear complexity method for name branches
constructor_name M: 0 C: 4 (100%) M: 0 C: 0 0% M: 0 C: 1 100% M: 0 C: 2 100% M: 0 C: 1 100% module_name M: 0 C: 52 (100%) M: 0 C: 2 100% M: 0 C: 2 100% M: 0 C: 9 100% M: 0 C: 1 100%
Note. I was unable to upload the image as I did not have sufficient reputation.
+3
source to share