\\n\"\n}\n[/block]\n\n\n**Language / Framework:** \n**Checks:** ~5 \n**Categories:** \n\nDart Code Metrics is a static analysis tool that helps improve code quality. It analyzes code metrics and provides the following reports:\n\n- Cyclomatic complexity of methods\n- Lines of Executable Code\n- Maximum Nesting\n- Number of Arguments\n- Number of Methods\n\n## Enable the Plugin\n\nTo enable Dart analysis, add the following to your .codeclimate.yml configuration file:\n\n```yaml .codeclimate.yml\nplugins:\n dart:\n enabled: true\n```\n\n**More information about the CLI is available in the README here: **\n\n## Configure the Plugin\n\nYou may specify custom settings for the Dart plugin under the plugin's `config` node in your `.codeclimate.yml`:\n\n```yaml .codeclimate.yml\nplugins:\n dart:\n enabled: true\n config:\n - A\n - B\n - C\n```\n\n## Understand the Plugin","order":15,"isReference":false,"deprecated":false,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"reusableContent":[],"previousSlug":"","slugUpdatedAt":"2021-01-11T02:11:37.032Z","revision":3,"_id":"5ffcbdbefacfac006e6c103d","pendingAlgoliaPublish":false,"createdAt":"2021-01-11T21:06:06.365Z","updatedAt":"2025-04-30T15:44:08.294Z","user":"6802655ea0c31b0038c71658","category":"57e17235463a9120006d6e81","project":"57e17235463a9120006d6e7d","version":"57e17235463a9120006d6e7f","__v":1,"parentDoc":null,"lastUpdatedHash":"47d99c7d8064550013743df8cce481febf8cedcf","isApi":false,"id":"5ffcbdbefacfac006e6c103d"},"meta":{"slug":"dart-code-metrics","type":"docs","parent":null,"image":[],"title":"Dart Code Metrics","title_seo":"Dart Code Metrics","description":"⚠️ Code Climate Quality is being replaced with Qlty Cloud — New users should sign up directly at qlty.sh.— To migrate an existing account, please see our Migration Guide. Language / Framework:Checks: ~5Categories: Dart Code Metrics is a static analysis tool that helps improve code quality. It analyz...","_id":"5ffcbdbefacfac006e6c103d","hidden":false},"config":{"algoliaIndex":"readme_search_v2","amplitude":{"apiKey":"dc8065a65ef83d6ad23e37aaf014fc84","enabled":true},"asset_url":"https://cdn.readme.io","domain":"readme.io","domainFull":"https://dash.readme.com","encryptedLocalStorageKey":"ekfls-2025-03-27","fullstory":{"enabled":true,"orgId":"FSV9A"},"metrics":{"billingCronEnabled":"true","dashUrl":"https://m.readme.io","defaultUrl":"https://m.readme.io","exportMaxRetries":12,"wsUrl":"wss://m.readme.io"},"proxyUrl":"https://try.readme.io","readmeRecaptchaSiteKey":"6LesVBYpAAAAAESOCHOyo2kF9SZXPVb54Nwf3i2x","releaseVersion":"5.394.0","sentry":{"dsn":"https://3bbe57a973254129bcb93e47dc0cc46f@o343074.ingest.sentry.io/2052166","enabled":true},"shMigration":{"promoVideo":"","forceWaitlist":false,"migrationPreview":false},"sslBaseDomain":"readmessl.com","sslGenerationService":"ssl.readmessl.com","stripePk":"pk_live_5103PML2qXbDukVh7GDAkQoR4NSuLqy8idd5xtdm9407XdPR6o3bo663C1ruEGhXJjpnb2YCpj8EU1UvQYanuCjtr00t1DRCf2a","superHub":{"newProjectsEnabled":true},"wootric":{"accountToken":"NPS-122b75a4","enabled":true}},"context":{"labs":{},"user":{},"terms":[],"variables":{"user":{},"defaults":[]},"project":{"_id":"57e17235463a9120006d6e7d","appearance":{"hideTableOfContents":false,"javascript":"","showVersion":true,"header":{"img_pos":"tl","img_size":"auto","img":[],"style":"solid","linkStyle":"buttons"},"hide_logo":true,"html_footer":"","logo":["https://files.readme.io/XZInkgKTAerd7E4rjoUh_code-climate-logo.png","code-climate-logo.png","280","80","#241c24","https://files.readme.io/2ElCNFp1SWLds6tdHhFX_code-climate-logo.png"],"promos":[{"extras":{"type":"html","buttonPrimary":"get-started","buttonSecondary":""},"title":"Code Climate Quality Documentation","text":"","_id":"5653462e0672922b003be690"}],"html_footer_meta":"","html_promo":"\n
\n \n\n
\n \n
\n ⚠️\n Code Climate Quality is being replaced with Qlty Cloud\n
\n \n
\n
\n — New users should sign up directly at qlty.sh\n
\n
\n — To migrate an existing account, please see our Migration Guide\n
\n
\n \n
\n\n\n
\n
\n
\n\n\n Need help with Code Climate Quality?Look no further.\n