Skip to content

Commit

Permalink
Merge pull request #80 from Pennycook/percent-symbol
Browse files Browse the repository at this point in the history
Fix double percent symbol in report output
  • Loading branch information
laserkelvin authored Mar 12, 2024
2 parents 2500ea9 + 4b348e5 commit 8b1efde
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion codebasin/report.py
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ def summary(setmap):
cd = divergence(setmap)
unused = (setmap[frozenset()] / total_count) * 100.0
lines += [f"Code Divergence: {cd:.2f}"]
lines += [f"Unused Code (%%): {unused:.2f}"]
lines += [f"Unused Code (%): {unused:.2f}"]
lines += [f"Total SLOC: {total_count}"]

return "\n".join(lines)
Expand Down

0 comments on commit 8b1efde

Please sign in to comment.