Skip to content

Conversation

shivasurya
Copy link
Owner

This PR supports scanning source code in CI with predefined pathfinder rules 🚀

$ pathfinder ci --project /Users/shiva/src/code-pathfinder/test-src --ruleset cpf/java --output text --verbose

The ruleset cpf/java is hosted online at codepathfinder.dev/rules

@shivasurya shivasurya added the enhancement New feature or request label Oct 12, 2024
@shivasurya shivasurya self-assigned this Oct 12, 2024
Signed-off-by: Shivasurya <s.shivasurya@gmail.com>
Signed-off-by: Shivasurya <s.shivasurya@gmail.com>
Copy link

codecov bot commented Oct 12, 2024

Codecov Report

Attention: Patch coverage is 46.89655% with 77 lines in your changes missing coverage. Please review.

Project coverage is 75.09%. Comparing base (2538be5) to head (71ff2f4).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
sourcecode-parser/cmd/ci.go 42.06% 70 Missing and 3 partials ⚠️
sourcecode-parser/cmd/root.go 50.00% 1 Missing and 1 partial ⚠️
sourcecode-parser/graph/construct.go 71.42% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #155      +/-   ##
==========================================
- Coverage   77.87%   75.09%   -2.79%     
==========================================
  Files          12       12              
  Lines        1496     1630     +134     
==========================================
+ Hits         1165     1224      +59     
- Misses        297      368      +71     
- Partials       34       38       +4     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@shivasurya shivasurya merged commit 9b75402 into main Oct 13, 2024
2 of 4 checks passed
@shivasurya shivasurya deleted the shiva/implement-ci-rule-scanning-ii branch October 13, 2024 23:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant