| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| outfile.write(f"FNF:{len(functions)}\n") | ||
| outfile.write(f"FNH:{functions_hit}\n") | ||
| if functions_found: |
There was a problem hiding this comment.
Are you sure we should omit these lines if no functions are found/hit? Wouldn't it be better to output FNF:0 ?
Sorry, something went wrong.
There was a problem hiding this comment.
I believe you are correct, I also added a regression test to assert this behaviour.
Sorry, something went wrong.
|
This is now released as part of coverage 7.15.0. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Fixes #2205.
Summary
Details
Line records already respect report exclusions. Function records were still generated from all discovered function code regions, so a fully excluded abstract method could appear as FNDA:0 and reduce downstream LCOV function coverage even when the text report shows 100% line coverage.
This narrows each function region before emission and skips regions with n_statements == 0, matching the line-reporting behavior for fully excluded code.
Tests