Uploaded image for project: 'Build'
  1. Build
  2. BUILD-75

Total coverage printed by clover plugin might be wrong in case cloverCoverageThreshold is set below the actual coverage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Neutral Neutral
    • POMs 20
    • POMs 20
    • Build Tools
    • None

      After adding tests to magnolia-templating a total coverage of 71.3% was printed to console. When increasing the cloverCoverageThreshold to 70%, the build suddenly failed claiming a total coverage of 67.3% doesn't meet the threshold of 70%. When comparing with coverage reports on hudson

      Here's a bunch of values gained when investigating a little further:

      Module Threshold printed total actual coverage (from nexus-reports)
      templating 65 71.3 67.3
      templating 67 71.3 67.3
      templating 68 67.3 67.3
      templating 69 67.3 67.3
      templating 79 67.3 67.3
      core 45 48.6 47.3
      core 48 47.3 47.3
      core 49 47.3 47.3

        Acceptance criteria

              gjoseph Magnolia International
              dlipp Daniel Lipp
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved: