Feature/ full project analysis - #117
Merged
Merged
Conversation
danmar
approved these changes
Sep 14, 2026
danmar
approved these changes
Sep 14, 2026
danmar
left a comment
Contributor
There was a problem hiding this comment.
Regular and full analysis with project=compile_commands.jsonRegular and full analysis with project=project-file.cppcheck
Regular analysis without project file
Adding suppression to project file
Multi-location warnings appearing as intended
Hiding specific warnings and warning types
Filtering for severity
Inline comments
would it be straight forward to write some tests for some of these?
would it be possible to write tests for src/helpers/*.ts functions?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Full analysis is available if a project file is set. This can be done through a UI element in the bottom bar. This function required a new function, separate from the regular function for analysing a specific document. Due to this the PR contains a lot of changes to keep things DRY, extracting a lot of shared functionality between the regular analysis and the full analysis into helper functions.
Due to this extensive diff I have done thorough testing. Below is a list of everything I have tested and deemed to work as intended:
Tested: