Dart Code Metrics [draft]

Language / Framework:
Checks: ~5
Categories:

Dart Code Metrics is a static analysis tool that helps improve code quality. It analyzes code metrics and provides the following reports:

  • Cyclomatic complexity of methods
  • Lines of Executable Code
  • Maximum Nesting
  • Number of Arguments
  • Number of Methods

Enable the Plugin

To enable Dart analysis, add the following to your .codeclimate.yml configuration file:

plugins:
  dart:
    enabled: true

More information about the CLI is available in the README here: https://github.com/codeclimate/codeclimate

Configure the Plugin

You may specify custom settings for the Dart plugin under the plugin's config node in your .codeclimate.yml:

plugins:
  dart:
    enabled: true
    config:
      - A
      - B
      - C

Understand the Plugin