Code checker

Build Status codecov.io License Pub Version Dart SDK Version Dart Platform

Static source code analytics tool that helps analyse and improve quality, inspired by Wrike Dart code metrics.

Usage

Analyzer plugin

The plugin for the Dart analyzer provide information collected by metrics.

  1. Add dependency to pubspec.yaml

     dev_dependencies:
       code_checker: ^0.3.6
    
  2. Add configuration to analysis_options.yaml

     analyzer:
       plugins:
         - code_checker
    

Command line tool

Full usage

Usage: checker [arguments] <directories>

-h, --help                      Print this usage information.


    --number-of-methods=<10>    Number of Methods threshold
    --weight-of-class=<0.33>    Weight Of Class threshold

Libraries

analyzer_plugin
checker
metrics
rules