-
Notifications
You must be signed in to change notification settings - Fork 9
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
Improve coverage tool for P3 Analysis Library integration #41
Draft
Pennycook
wants to merge
12
commits into
intel:main
Choose a base branch
from
Pennycook:cbicov
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Commits on Mar 21, 2024
-
Currently identical to the old etc/coverage.py script, but renamed. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 47a4e49 - Browse repository at this point
Copy the full SHA 47a4e49View commit details -
Using angle brackets, similar to how commands like git behave, allows us to use metavar names that contain spaces and are easier to read. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 04dab31 - Browse repository at this point
Copy the full SHA 04dab31View commit details -
This option enables cbicov to be run anywhere, instead of requiring it to be run in the source directory. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for d482c3c - Browse repository at this point
Copy the full SHA d482c3cView commit details -
Run cbicov with an empty codebase
Using an empty codebase means that cbicov will only generate coverage information for files in the specified source directory. Pre-populating the codebase file list restricts our ability to exclude files, because files that are explicitly listed in the codebase are assumed to have been specified by the user. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 2192c86 - Browse repository at this point
Copy the full SHA 2192c86View commit details -
Update coverage schema to 0.2.0
The new schema allows for coverage files to contain both a file hash and (optional) path information. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 0a80606 - Browse repository at this point
Copy the full SHA 0a80606View commit details -
Include filenames in exported coverage files
The previous coverage schema required the exporter logic to replace all filenames with file hashes unconditionally. The new exporter logic is able to retain filenames, which can be used to compute file hashes when required. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 7fe1a6b - Browse repository at this point
Copy the full SHA 7fe1a6bView commit details -
Update coverage schema to 0.3.0
Now requires file name, a unique ID, and a different line representation. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 7d2a9ba - Browse repository at this point
Copy the full SHA 7d2a9baView commit details -
Add exclude_patterns to cbicov configuration
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 9708283 - Browse repository at this point
Copy the full SHA 9708283View commit details
Commits on Mar 22, 2024
-
Keep track of which SLOC exist in a CodeNode
Previously, a CodeNode could only recover region information in terms of an extent (start line and end line) which was not sufficient to export the information required by the new coverage format. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for cb126be - Browse repository at this point
Copy the full SHA cb126beView commit details
Commits on Mar 25, 2024
-
Add missing coverage-0.3.0 schema
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 57f4ff8 - Browse repository at this point
Copy the full SHA 57f4ff8View commit details -
Remove debug print from exporter
Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for fdb8ec9 - Browse repository at this point
Copy the full SHA fdb8ec9View commit details
Commits on Aug 20, 2024
-
Handles excludes in an identical manner to codebasin. Signed-off-by: John Pennycook <john.pennycook@intel.com>
Configuration menu - View commit details
-
Copy full SHA for 4946eeb - Browse repository at this point
Copy the full SHA 4946eebView commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.