Jacoco - What does ''class missed'' mean?

Viewed 3446

I didn't find enough information for MISSEDCOUNT

<rules>
  <rule implementation="org.jacoco.maven.RuleConfiguration">
    <element>BUNDLE</element>
    <limits>
      <limit implementation="org.jacoco.report.check.Limit">
        <counter>INSTRUCTION</counter>
        <value>COVEREDRATIO</value>
        <minimum>0.80</minimum>
      </limit>
      <limit implementation="org.jacoco.report.check.Limit">
        <counter>CLASS</counter>
        <value>MISSEDCOUNT</value>
        <maximum>0</maximum>
      </limit>
    </limits>
  </rule>
</rules>

I also encountered an error:

Rule violated for bundle xxxx: classes missed count is 1, but expected maximum is 0)

Could you give me a simple example when it could be thrown as well as should i use this check(MISSEDCOUNT) in my java project?

1 Answers
Related