dart_code_metrics 1.8.1 copy "dart_code_metrics: ^1.8.1" to clipboard
dart_code_metrics: ^1.8.1 copied to clipboard

discontinued
outdated

Command line tool which helps to improve code quality. Reports cyclomatic complexity and method length in plain console, JSON, HTML and Codeclimate formats

Changelog #

1.8.1 #

  • Fix static code diagnostics member-ordering and prefer-condifional-expression

1.8.0 #

  • Add static code diagnostics prefer-conditional-expressions, prefer-on-push-cd-strategy, member-ordering, no-object-declaration
  • Improve static code diagnostic no-magic-number
  • Set min analyzer 0.39.3

1.7.1 #

  • Support analyzer_plugin 0.3.0

1.7.0 #

  • Add experimental static code diagnostics binary-expression-operand-order, prefer-intl-name
  • Add Number of Methods metric
  • Drop dependency on resource
  • Improve html report
  • Set min SDK version to >=2.6.0.

1.6.0 #

  • Add experimental static code diagnostics prefer-trailing-comma-for-collection, no-magic-number
  • Support number of arguments metric in analyzer plugin
  • Support excluding files from metrics calculation

1.5.1 #

  • Improve code diagnostics double-literal-format, no-boolean-literal-compare
  • Add experimental static code diagnostics newline-before-return, no-empty-block, avoid-preserve-whitespace-false
  • Support cyclomatic complexity metric in analyzer plugin

1.5.0 #

  • Add experimental static code diagnostics double-literal-format, no-boolean-literal-compare

1.4.0 #

  • Drop dependency on built_collection
  • Add set-exit-on-violation-level cli argument

1.3.1 #

  • Fix get arguments count

1.3.0 #

  • Add Number of Arguments metrics

1.2.1 #

  • Validate root-folder argument
  • Fix paths to analyze fail to validate with non-default root-folder
  • Fix paths weren't validated to be inside root-folder
  • Support factory constructors analysis

1.2.0 #

  • Allow to analyze multiple directories

1.1.5 #

  • Tweak console reporter

1.1.4 #

  • Add some dartdocs
  • Update readme
  • Add library usage example

1.1.3 #

  • Fix validate input arguments

1.1.2 #

  • Improve CodeClimate report

1.1.1 #

  • Added support extension methods

1.1.0 #

  • Added support for CodeClimate

1.0.0 #

  • Initial release
933
likes
0
points
48.6k
downloads

Publisher

verified publisherdcm.dev

Weekly Downloads

Command line tool which helps to improve code quality. Reports cyclomatic complexity and method length in plain console, JSON, HTML and Codeclimate formats

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

analyzer, analyzer_plugin, ansicolor, args, crypto, glob, html, meta, path, quiver, source_span, yaml

More

Packages that depend on dart_code_metrics