dart_code_metrics 5.7.4 dart_code_metrics: ^5.7.4 copied to clipboard
Software analytics tool that helps developers analyse and improve software quality.
DCM is a static analysis tool and code from it is not expected to be used directly. Instead, it should be added as a dev dependency and installed as described here.
Preferred way: plugin and CLI #
To use DCM as a plugin or a CLI, check out this repository with the example Flutter app. It covers DCM setup and shows all commands output.
Additional way: as a library #
Note: usually you don't need to use DCM directly.
DCM can be used directly as a library, imported and called from your code. Continue with this example in order to get more details.
Presets can be enabled with
extends config, more details can be found here.