Skip to content

can u add line and branch coverage data to class attribute  #297

@kathxqq

Description

@kathxqq

As for our project , we need more detail coverage data about every js file, so can you add the following info to classElement.

        classElement.setAttribute("lines-covered", "" + file.getCodeLinesCoveredCount());
        classElement.setAttribute("lines-valid", "" + file.getCodeLineCount());
        classElement.setAttribute("branchs-covered", "" + file.getBranchesCoveredCount());
        classElement.setAttribute("branchs-valid", "" + file.getBranchCount());

we will be very appreciate , if you add this. thank you very much !

image

After added , the following xml is what we want
image

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions