Skip to main content

What’s new in DCM 1.14.0

· 9 min read

Cover

Today we’re excited to announce the release of DCM 1.14.0!

This release includes a new command to find duplicate functions, methods and constructors, new built-in preset to avoid installing an additional package, 4 new rules, and more 🚀.

info

The recommended preset now has new rules from 1.13.0, so you may get new warnings once you update the dart-code-metrics-presets package dependency.

Now let's go through the highlights of this release 🚀.

What’s new in DCM 1.13.0

· 11 min read

Cover

Today we’re excited to announce the release of DCM 1.13.0!

This release includes similar widgets report, improved unused code IDE integration and a new mode, 8 new rules, unused files in IDE, performance improvements, and more 🚀.

Now let's go through the highlights of this release 🚀.

What’s new in DCM 1.12.0

· 9 min read

Cover

Today we’re excited to announce the release of DCM 1.12.0!

New command to run multiple DCM checks at once, 7 new rules (3 for FlutterHooks), custom analysis_options files support, performance improvements (with ~58 fully rewritten rules and fixed freezes of the IntelliJ plugin) and more 🚀.

info

This release contains 1 breaking change that you should be aware of: the avoid-unassigned-late-fields-keyword rule has been renamed to avoid-unassigned-late-fields.

Plus, the recommended preset has been updated so you might get new warnings once you update the dart-code-metrics-presets package dependency.

Now, let’s go on a quick journey together to explore all updates!

What’s new in DCM 1.11.0

· 12 min read

Cover

Today we’re excited to announce the release of DCM 1.11.0!

New command to analyze the quality and usage of your widgets, 20 new rules (with 6 of them to help enforce the Flutter style guide 🔥), ~30 rules updated, redesigned HTML reports with, of course, dark mode support 🚀!

info

This release contains 3 breaking changes that you should be aware of: the avoid-unnecessary-late rule has been renamed to avoid-unnecessary-local-late, the check-exports-completeness command now uses the --fatal-found flag (instead of --fatal-unused) and metrics global ignore has been renamed from type=metric to type=metrics.

Plus, in the next release we'll update the recommended preset to include new rules. If you use this preset, please be ready to address new warnings.

Now, let’s go on a quick journey together to explore all updates!

Announcing DCM license for open source projects

· 2 min read

Today we're excited to announce a new license type: open source project licenses!

Working on open source is difficult because you usually have to work late at night or on weekends, which makes every minute count but also increases the chance of error. This is where DCM can help. Enabling DCM rules helps reduce the time spent fixing tricky bugs and reviewing code. It can also help you align the coding style between your regulars and new contributors.

What’s new in DCM 1.10.0

· 9 min read

Cover

Today we’re excited to announce the release of DCM 1.10.0!

New command to deactivate the current device to help you manage your license activations, 14 new rules, general UX improvements and displaying the recommended rules for the Trail licenses by default 🚀.

Let’s go on a quick journey together to explore all updates!

What’s new in DCM 1.9.0

· 9 min read

Cover

Today we’re excited to announce the release of DCM 1.9.0!

New "Recommended" presets, 13 new rules and many more improved, dedicated GitHub Action to run DCM checks 🚀.

Let’s go on a quick journey together to explore all updates!

What’s new in DCM 1.8.0

· 12 min read

Cover

Today we’re excited to announce the release of DCM 1.8.0!

New command to simplify integrating DCM into existing projects, 17 new rules (2 for the Patrol testing library 🚀), support for dart_frog files for check-unused-code and check-unused-files, Gitlab reporter format for all existing commands and more 🔥.

And with this release, DCM crossed the 200 rule mark 🥳 (currently 215)!

Let’s go on a quick journey together to explore all updates!

What’s new in DCM 1.7.0

· 11 min read

Cover

Today we’re excited to announce the release of DCM 1.7.0!

Improved developer experience with DCM configuration, 25 new rules, 24 existing rules improved and more! 🚀

Let’s go on a quick journey together to explore all the new features!

What’s new in DCM 1.6.0

· 6 min read

Cover

Today we’re excited to announce the release of DCM 1.6.0! New Individuals version, customizable formatter with project-wide configuration 😱, complete rewrite of IntelliJ plugin, new rules and more! 🚀

Let’s go on a quick journey together to explore all the new features!

What’s new in DCM for Teams 1.4.0

· 13 min read

Cover

Today we’re excited to announce the release of DCM for Teams 1.4.0! In this version we added a new assist called "Wrap with ...", new command to find unused or missing dependencies, 22 new rules (and 5 of them are for the provider package 😱) and more!

Let’s go on a quick journey together to explore all the new features!

Integrating DCM into an existing project

· 5 min read

While the benefits of using static analysis tools such as DCM are quite obvious, integrating them into an existing project can be challenging due to the many possible warnings that need attention. That's why developers prefer to add such tools in the early stages of a project and quickly give up when it comes to old existing codebases.

But when it comes to DCM there are several tricks you can use to significantly reduce the time spend on its integration.

DCM return on investment (ROI)

· 5 min read

Considering that DCM is a paid product, it's reasonable to raise the question of what value a company will receive from using it.

Let's calculate the return on investment (the ratio between income and costs) from using DCM in the development process. Hopefully it will help you fully realize the rationality behind it.