Skip to content

Wrong count of "branches-valid" in coverage.cobertura.xml #1462

Open
@mklpanasiuk

Description

@mklpanasiuk

Steps to reproduce:

  1. Run: dotnet test --collect:"XPlat Code Coverage"
  2. Run: reportgenerator "-reports:coverage.cobertura.xml" "-targetdir:./" "-reporttypes:JsonSummary"

Actual result:
Branch coverage and total branches are different between coverage.cobertura.xml and reportgenerator Summary.json

Expected result:
Branch coverage and total branches are the same.
Also it seems that reportgenerator calculates it right, based on my issue in their project, please see - danielpalme/ReportGenerator#597

Please let me know to which email address I need to send an original coverage.cobertura.xml in case you need it for debugginh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds reproNeeds repro to be investigated, cannot repro in localstale

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions