Coverage summaries display wrong values

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • Component/s: cobertura-plugin
    • None
    • Environment:
      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(); }

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

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

              Created:
              Updated:
              Resolved: