[PLUTO-1392] Add Lizard tool #101
Merged
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.
This pull request introduces the integration of the Lizard code complexity analyzer into the project. It includes changes to support Lizard as a tool, updates to the configuration and initialization processes, and the addition of utility methods for handling Lizard-specific configurations.
Integration of Lizard Tool:
.codacy/codacy.yamland included its version (1.17.19).cmd/analyze.goto handle its execution, configuration, and error handling. [1] [2] [3] [4]plugin.yamlfile for Lizard, defining its runtime, binaries, and options.Configuration and Initialization Enhancements:
cmd/init.goto include Lizard in the default configuration template, runtime requirements, and initialization logic. [1] [2] [3] [4]createLizardConfigFilefunction to generate Lizard-specific configuration files, supporting both default and custom configurations.buildDefaultConfigurationFilesfunction to streamline the creation of default tool configurations, starting with Lizard.Utility and Domain Updates:
CreateLizardConfigfunction intools/lizard/lizardConfigCreator.goto generate YAML configuration files based on patterns and thresholds.ParameterConfigurationstruct indomain/patternConfiguration.goto support adefaultfield for parameters.Testing and Logging:
plugins/tool-utils_test.goto include Lizard in the list of supported tools for testing.cmd/analyze.goto indicate when all configured tools are being executed.