Repository navigation
feat: add the static-analysis check: static analyzers are configured and run - #120
Merged
Merged
Conversation
…and run A new StaticAnalysis rule lists an ecosystem's analyzers, how each is seen running, the file that configures it, and why a running one falls short. C/C++ requires both clang-tidy (with a .clang-tidy) and cppcheck; Python accepts ruff check, pylint or flake8, in CI or as a pre-commit hook; Rust requires clippy; Go requires golangci-lint with linters beyond its defaults. The well-configured fixtures now run cppcheck, ruff check and golangci-lint. This project already runs ruff check. Closes #13 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Nov 6, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## committed-artifacts #120 +/- ##
=======================================================
+ Coverage 98.37% 98.42% +0.05%
=======================================================
Files 54 55 +1
Lines 2092 2162 +70
Branches 208 215 +7
=======================================================
+ Hits 2058 2128 +70
Misses 28 28
Partials 6 6 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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.
Closes #13. Phase 3 of #107. Stacked on #119.
A new
StaticAnalysisrule lists an ecosystem's analyzers. For each one it gives how the analyzer is seen running, the file that configures it, and why a running analyzer falls short..clang-tidy) and cppcheck runruff check, pylint or flake8 runs, in CI or as a pre-commit hookcargo clippyrunsThe check warns when an analyzer is configured but does not run, or runs short of the above. It fails when none runs.
The well-configured fixtures now run cppcheck,
ruff checkand golangci-lint. This repository passes (ruff check).🤖 Generated with Claude Code