shivasurya / code-pathfinder

Code Pathfinder, the open-source alternative to GitHub CodeQL. Built for advanced structural search, derive insights, find vulnerabilities in code.
https://codepathfinder.dev
GNU Affero General Public License v3.0
35 stars 6 forks source link

Refactor pathfinder cli to support cobra :snake: cli format #104

Closed shivasurya closed 2 months ago

shivasurya commented 2 months ago

closes #103

This new revamp contains commands such as

additionally --disable-metrics will be added to root command to disable posthog analytics (see #101)

codecov[bot] commented 2 months ago

Codecov Report

Attention: Patch coverage is 64.82412% with 70 lines in your changes missing coverage. Please review.

Project coverage is 40.68%. Comparing base (ab16095) to head (807ca07). Report is 1 commits behind head on main.

Files Patch % Lines
sourcecode-parser/cmd/query.go 56.89% 44 Missing and 6 partials :warning:
sourcecode-parser/cmd/scan.go 72.22% 10 Missing :warning:
sourcecode-parser/graph/construct.go 38.46% 8 Missing :warning:
sourcecode-parser/main.go 0.00% 1 Missing and 1 partial :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #104 +/- ## =========================================== - Coverage 52.95% 40.68% -12.28% =========================================== Files 10 10 Lines 2281 762 -1519 =========================================== - Hits 1208 310 -898 + Misses 1011 436 -575 + Partials 62 16 -46 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.