Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-6790

Coverage summaries display wrong values

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: cobertura-plugin
    • Labels:
      None
    • Environment:
      Hudson 1.362, cobertura-maven-plugin 2.4, cobertura hudson plugin 0.8.11
    • Similar Issues:

      Description

      Within my source code I have no conditionals (see code below). In view 'Cobertura Coverage Report -> Package Breakdown --> Bean.java', column 'Conditionals' says 'N/A'. But in views 'Project Coverage Summary' and 'Package Coverage Summary' Cobertura reports 'Conditionals 0% 0/0' and my project gets cloudy :/ This is not a proper behavior from my point of view what do you think?

      br
      vollecker
      ----------------------------------------
      public class Bean {
      public void noConditionals()

      { //do nothing }


      }
      ----------------------------------------
      public class Tester extends TestCase {
      public void testBean()

      { Bean bean = new Bean(); bean.noConditionals(); }

      }
      ----------------------------------------

        Attachments

          Activity

            People

            • Assignee:
              jan_ruzicka jan_ruzicka
              Reporter:
              vollecker vollecker
            • Votes:
              1 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: