Uploaded image for project: 'Clover'
  1. Clover
  2. CLOV-1007

clover2:check fails with negative coverage if no class to instrument

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 3.1.7
    • 3.1.0
    • Maven plugin
    • None

    Description

      This happens either if no java class was found for instrumentation or if they were all excluded.
      Clover then reports a negative coverage of -100%.

      To my mind, this is not correct : strictly speaking, if no java class has to be tested for coverage, there is no relevant coverage value (I guess it is what the -100% means) but check should be OK.

      Attachments

        Issue Links

          Activity

            People

              mparfianowicz Marek Parfianowicz
              437a7f3bd847 Marc Jambert
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: