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

Coverage summaries display wrong values

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • cobertura-plugin
    • None
    • Hudson 1.362, cobertura-maven-plugin 2.4, cobertura hudson plugin 0.8.11

      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(); }

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

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

              Created:
              Updated:
              Resolved: