SonarQube Plugins
  1. SonarQube Plugins
  2. SONARPLUGINS-696

NPE in CoberturaSensor, when parsing some reports

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: GROOVY-0.2
    • Fix Version/s: GROOVY-0.2
    • Component/s: Groovy
    • Labels:
      None
    • Number of attachments :
      0

      Description

      See http://markmail.org/message/k7f5wam5bkjkfkff

      Problem comes from the line :

      <line number="6" hits="1" branch="false" condition-coverage="100%"/>
      

      CoberturaSensor from Sonar core assumes that if attribute condition-coverage presented, then it's a branch line. But actually we should use attribute branch to determine - should we parse condition-coverage or not.

        Issue Links

          Activity

          Hide
          Evgeny Mandrikov added a comment -

          Fixed in r2270.

          Show
          Evgeny Mandrikov added a comment - Fixed in r2270 .

            People

            • Assignee:
              Evgeny Mandrikov
              Reporter:
              Evgeny Mandrikov
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: