-
Notifications
You must be signed in to change notification settings - Fork 288
Add empty file coverage #998
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
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 |
50aad9c to
6ae37a1
Compare
Scan the search paths for files matching a pattern and add a empty file coverage object for the file.
6ae37a1 to
54d026e
Compare
54d026e to
9d67d19
Compare
|
Tested and it works fine. Should the files report their total lines so that the total % would be lower than what it is for just tested files? |
I had this in the beginning but we don't know which lines contain code. If you wish this you can compile the files with coverage and we use then the gcno file if no gcda file is found. |
|
I agree it's not a blocker. At least we can see the signal that a file is not covered which is sufficient in my use case. Thanks. |
- Rename function and change return value. - Move logging of include/exclude into function. - Add debug messages.
ec89516 to
a187fde
Compare
67a1706 to
ea6fbe8
Compare
- Add option to add empty coverage for source files by scanning the search paths for files matching a pattern and add a empty file coverage object for the file. - Refactor file filtering - Rename function and change return value. - Move logging of include/exclude into function. - Add debug messages.
- Add option to add empty coverage for source files by scanning the search paths for files matching a pattern and add a empty file coverage object for the file. - Refactor file filtering - Rename function and change return value. - Move logging of include/exclude into function. - Add debug messages.
Add a option to scan the search paths for files which ar added to the report with zero coverage by default to see files which are without coverage/test for now.
Closes #986