Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>DCMNew to Visual Studio Code? Get it now.
DCM

DCM

dcm.dev

dcm.dev
|
5,082 installs
| (16) | Free
DCM statically analyzes your Dart code to quickly find quality and consistency problems.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

DCM VS Code extension

DCM is a tool that helps improve the quality and consistency of Dart code by identifying and reporting problems, such as bugs and code that doesn't follow best practices. It also collects analytical data on the code through calculating code metrics and can be configured to set thresholds for these metrics.

Installation

For this extension to work you need to have dcm executable to be installed on your device. See the documentation on how install the executable.

Configuration

DCM is designed to be flexible and configurable for your use case. You can turn off every rule and run only with enabled metrics calculation or have both rules and metrics enabled.

To configure DCM, add a dart_code_metrics entry to analysis_options.yaml of your project and list the rules and metrics you want to enable.

For more information on DCM configuration, see the Configuration documentation.

Release Notes

See the changelog.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft