analyzer 5.1.0 icon indicating copy to clipboard operation
analyzer: ^5.1.0 copied to clipboard

This package provides a library that performs static analysis of Dart code.

145
likes
120/ 140
pub points
100%
popularity

We analyzed this package 37 hours ago, and awarded it 120 pub points (of a possible 140):

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

icon indicating section status
Provide documentation
10 / 20icon to trigger folding of the section

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 2100 out of 3972 API elements (52.9 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger folding of the section

20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, MacOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ MacOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:analyzer/dart/analysis/analysis_context.dart that imports:
  • package:analyzer/src/generated/engine.dart that imports:
  • package:analyzer/error/listener.dart that imports:
  • package:analyzer/src/generated/source.dart that imports:
  • package:analyzer/src/generated/sdk.dart that imports:
  • package:analyzer/dart/ast/visitor.dart that imports:
  • package:analyzer/dart/ast/ast.dart that imports:
  • package:analyzer/dart/element/type.dart that imports:
  • package:analyzer/dart/element/element.dart that imports:
  • package:analyzer/src/generated/utilities_dart.dart that imports:
  • package:analyzer/src/dart/element/element.dart that imports:
  • package:analyzer/src/summary2/macro.dart that imports:
  • package:analyzer/src/summary2/kernel_compilation_service.dart that imports:
  • package:_fe_analyzer_shared/src/macros/compiler/request_channel.dart that imports:
  • dart:io
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

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

Found 547 issues. Showing the first 2:

INFO: Name non-constant identifiers using lowerCamelCase.

lib/dart/analysis/features.dart:13:16

   ╷
13 │   static final constant_update_2018 = ExperimentalFeatures.constant_update_2018;
   │                ^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dart/analysis/features.dart

INFO: Name non-constant identifiers using lowerCamelCase.

lib/dart/analysis/features.dart:16:16

   ╷
16 │   static final non_nullable = ExperimentalFeatures.non_nullable;
   │                ^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/dart/analysis/features.dart

icon indicating section status
Support up-to-date dependencies
20 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
_fe_analyzer_shared^49.0.049.0.049.0.0
collection^1.15.01.16.01.16.0
convert^3.0.03.0.23.0.2
crypto^3.0.03.0.23.0.2
glob^2.0.02.1.02.1.0
meta^1.7.01.8.01.8.0
package_config^2.0.02.1.02.1.0
path^1.8.01.8.21.8.2
pub_semver^2.0.02.1.12.1.1
source_span^1.8.01.9.11.9.1
watcher^1.0.01.0.11.0.1
yaml^3.0.03.1.13.1.1
Transitive dependencies
PackageConstraintCompatibleLatest
async-2.9.02.9.0
file-6.1.46.1.4
string_scanner-1.1.11.1.1
term_glyph-1.2.11.2.1
typed_data-1.3.11.3.1

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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

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

Analysed with Pana 0.21.18, Dart 2.18.2.

145
likes
120
pub points
100%
popularity

Publisher

verified publisher icontools.dart.dev

This package provides a library that performs static analysis of Dart code.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Icon for licenses.BSD-3-Clause (LICENSE)

Dependencies

_fe_analyzer_shared, collection, convert, crypto, glob, meta, package_config, path, pub_semver, source_span, watcher, yaml

More

Packages that depend on analyzer