How is branch coverage calculated?

XMLWordPrintable

    • Type: Bug
    • Resolution: Not A Defect
    • Priority: Minor
    • Component/s: coverage-model
    • None

      Hi,

      I have a Cobertura report generated from MATLAB which shows the branch coverage as 66.667% but when using the Coverage plugin to read the report, the branch coverage shown is 100%.

      I wanted to understand why this discrepancy is happening.  Attaching a sample coverage report generated from MATLAB and screenshot of the coverage metrics. 

      coverageReportMATLAB.xml

      Thank you!

       

            Assignee:
            Ulli Hafner
            Reporter:
            MathWorks Ci Team
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: