-
Notifications
You must be signed in to change notification settings - Fork 285
Add function coverage to coveralls and HTML report #975
New issue
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
Conversation
Both are now mandatory arguments to show clearly where the information is missing. If mangled name is available use it as dict key instead of the demangled name because for a virtual function there are two entrie with same demangled name in gcov JSON outout: ``` { "name": "_ZN3BarD0Ev", "demangled_name": "Bar::~Bar()", "start_line": 9, "start_column": 13, "end_line": 10, "end_column": 6, "blocks": 3, "blocks_executed": 0, "execution_count": 0 }, { "name": "_ZN3BarD2Ev", "demangled_name": "Bar::~Bar()", "start_line": 9, "start_column": 13, "end_line": 10, "end_column": 6, "blocks": 1, "blocks_executed": 1, "execution_count": 1 }, ````
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more |
* Add function to get a filtered by function file coverage * Add function coverage to HTML report * Add function coverage to cobertura report * Change order of name and demangled_name in data Both are now mandatory arguments to show clearly where the information is missing. If mangled name is available use it as dict key instead of the demangled name because for a virtual function there are two entrie with same demangled name in gcov JSON outout: ``` { "name": "_ZN3BarD0Ev", "demangled_name": "Bar::~Bar()", "start_line": 9, "start_column": 13, "end_line": 10, "end_column": 6, "blocks": 3, "blocks_executed": 0, "execution_count": 0 }, { "name": "_ZN3BarD2Ev", "demangled_name": "Bar::~Bar()", "start_line": 9, "start_column": 13, "end_line": 10, "end_column": 6, "blocks": 1, "blocks_executed": 1, "execution_count": 1 }, ````
Add function level coverage to coveralls and HTML report. This is only available if
gcov
JSON intermediate format version 2 is used (available sincegcc-14
).Closes #654