mirror of
https://github.com/pmret/papermario.git
synced 2024-11-08 12:02:30 +01:00
hotfix coverage.py bytes listing
This commit is contained in:
parent
ca88a636e9
commit
5d4b8c27f1
@ -86,7 +86,7 @@ if __name__ == "__main__":
|
|||||||
total = len(matched) + len(non_matched)
|
total = len(matched) + len(non_matched)
|
||||||
print(f"{len(matched)}+{len(partial_matched)} / {total} functions ({(len(matched) / total) * 100:.2f}%)")
|
print(f"{len(matched)}+{len(partial_matched)} / {total} functions ({(len(matched) / total) * 100:.2f}%)")
|
||||||
|
|
||||||
if not "--skip-sizes":
|
if not "--skip-sizes" in argv:
|
||||||
function_sizes = parse_map_file()
|
function_sizes = parse_map_file()
|
||||||
size_matched = sum(function_sizes.get(f, 0) for f in matched)
|
size_matched = sum(function_sizes.get(f, 0) for f in matched)
|
||||||
size_partial_matched = sum(function_sizes.get(f, 0) for f in partial_matched)
|
size_partial_matched = sum(function_sizes.get(f, 0) for f in partial_matched)
|
||||||
|
Loading…
Reference in New Issue
Block a user