Proposal: Run cppcheck on Entire Source Code in CI
#6400
Unanswered
sasakisasaki
asked this question in
Ideas
Replies: 1 comment 1 reply
-
|
The cppcheck for entire code which is running weekly is failing (that is why we could detect such the unused functions) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Proposal: Run
cppcheckon Entire Source Code in CIBackground
cppcheckonly on files changed in a PR. This means issues in untouched parts of the codebase — for example, unused functions — can go unnoticed if the file itself isn’t modified.Proposal
cppcheckon the entire source code, not just changed files.Pros
Cons
Adds 1–2 minutes to CI runtime (total about 15 mins for cppcheck).Possible mitigations
cppcheckbefore push.Previous Discussion
What do you think about enabling this for all PRs? Your comments and feedback are highly appreciated.
Beta Was this translation helpful? Give feedback.
All reactions