-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Plugin Support #794
Add Plugin Support #794
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
detekt found more than 20 potential problems in the proposed changes. Check the Files changed tab for more details.
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #794 +/- ##
============================================
- Coverage 82.39% 77.04% -5.35%
- Complexity 179 250 +71
============================================
Files 49 59 +10
Lines 1363 1895 +532
Branches 184 265 +81
============================================
+ Hits 1123 1460 +337
- Misses 157 314 +157
- Partials 83 121 +38
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Co-authored-by: Florian Wendland <[email protected]>
This PR adds Plugins to Codyze.
Plugins utilize the functionality of other analysis tools and combine them with Codyze.
Each Plugin registers its own subcommand, which takes arguments such as the analysis target and more optional parameters.
To smoothly integrate the results of the plugins, this PR also introduces the Aggregator class.
This class stores SARIF runs and outputs one combined SARIF run, marking each of the used plugins as an extension to codyze.
At this moment, only the PMD and FindSecBugs (SpotBugs) tools are supported as Plugins with limited rulesets.
The number of plugins and rules can be expanded in future pull requests.
Future functionality could also include reading a SARIF file produced by an external tool and loading it into the Codyze SARIF file.