dart_code_metrics 3.2.2
dart_code_metrics: ^3.2.2 copied to clipboard

Software analytics tool that helps developers analyse and improve software quality.

52
likes
110 / 130
pub points
94 %
popularity

We analyzed this package on May 13, 2021, and awarded it 110 pub points (of a possible 130):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
20 / 20

10/10 points: Package has an example

  • Found example at: example/example.dart

10/10 points: 20% or more of the public API has dartdoc comments

  • 27 out of 60 API elements (45.0 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:dart_code_metrics/analyzer_plugin.dart that imports:
  • package:dart_code_metrics/src/analyzer_plugin/analyzer_plugin_starter.dart that imports:
  • package:dart_code_metrics/src/analyzer_plugin/analyzer_plugin.dart that imports:
  • package:dart_code_metrics/src/analyzer_plugin/plugin_utils.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io
Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

INFO: Unused import: '../config_builder/models/deprecated_option.dart'.

lib/src/analyzer_plugin/analyzer_plugin.dart:34:8

   ╷
34 │ import '../config_builder/models/deprecated_option.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/analyzer_plugin/analyzer_plugin.dart

Support up-to-date dependencies
20 / 20

10/10 points: All of the package dependencies are supported in the latest version

PackageConstraintCompatibleLatest
analyzer^1.4.01.5.01.5.0
analyzer_plugin^0.6.00.6.00.6.0
ansicolor^2.0.12.0.12.0.1
args^2.0.02.1.02.1.0
collection^1.15.01.15.01.15.0
crypto^3.0.03.0.13.0.1
file^6.0.06.1.06.1.0
glob^2.0.12.0.12.0.1
html>=0.15.0 <1.0.00.15.00.15.0
meta^1.3.01.3.01.3.0
path^1.8.01.8.01.8.0
quiver^3.0.03.0.13.0.1
source_span^1.8.01.8.11.8.1
yaml^3.1.03.1.03.1.0
Transitive dependencies
PackageConstraintCompatibleLatest
_fe_analyzer_shared-21.0.021.0.0
async-2.6.12.6.1
charcode-1.2.01.2.0
cli_util-0.3.00.3.0
convert-3.0.03.0.0
csslib-0.17.00.17.0
dart_style-2.0.12.0.1
matcher-0.12.100.12.10
package_config-2.0.02.0.0
pub_semver-2.0.02.0.0
stack_trace-1.10.01.10.0
string_scanner-1.1.01.1.0
term_glyph-1.2.01.2.0
typed_data-1.3.01.3.0
watcher-1.0.01.0.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

10/10 points: Package supports latest stable Dart and Flutter SDKs

Support sound null safety
20 / 20

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.16.0, Dart 2.12.4.