python-genbadge
python-genbadge copied to clipboard
Fix branch coverage rate comparison when used with `--branch` without actual branches
When --branch option is set but there are no branches coverage.xml will contain 0 branches (branches-valid="0" and branches-covered="0") but have branch-rate="1". Fixes #23