We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
At least with the python coverage.py, there's an option to enable branch coverage:
This adds attributes like this to the xml, see branches-valid, branches-covered, branch-rate, etc
branches-valid
branches-covered
branch-rate
<?xml version="1.0" ?> <coverage version="7.4.3" timestamp="1709319429613" lines-valid="883" lines-covered="538" line-rate="0.6093" branches-valid="133" branches-covered="48" branch-rate="0.3609" complexity="0"> <!-- Generated by coverage.py: https://coverage.readthedocs.io/en/7.4.3 --> <!-- Based on https://raw.githubusercontent.com/cobertura/web/master/htdocs/xml/coverage-04.dtd --> <sources> <source>/Users/zattas/fakerepo</source> </sources> <packages> <package name="src" line-rate="0.7214" branch-rate="0.6522" complexity="0"> <classes> <class name="__init__.py" filename="src/__init__.py" complexity="0" line-rate="1" branch-rate="1"> <methods/> <lines/> </class> <class name="api.py" filename="src/api.py" complexity="0" line-rate="0.7214" branch-rate="0.6522"> <methods/> <lines> <line number="1" hits="1"/> <line number="2" hits="1"/>
The text was updated successfully, but these errors were encountered:
In case it helps as reference material, I left a comment about how branch coverage is represented in Coveralls JSON-format coverage upload files here.
Sorry, something went wrong.
No branches or pull requests
At least with the python coverage.py, there's an option to enable branch coverage:
This adds attributes like this to the xml, see
branches-valid
,branches-covered
,branch-rate
, etcThe text was updated successfully, but these errors were encountered: