_fe_analyzer_shared 1.0.0

FE/analyzer shared code #

This package contains logic that is shared between the front_end and analyzer packages. It is intended solely to facilitate development of the Dart SDK, and is not intended for use by end users. In particular, this package has no public API, so no guarantee is made of compatibility between one version of the package and the next.

End users should consider using the analyzer package to analyze Dart source code.

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  _fe_analyzer_shared: ^1.0.0

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

Alternatively, your editor might support pub get or flutter pub get. Check the docs for your editor to learn more.

Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Dec 4, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.6.1
  • pana: 0.12.21


Detected platforms: Flutter, web, other

No libraries.

Health suggestions

Fix lib/src/flow_analysis/flow_analysis.dart. (-28.17 points)

Analysis of lib/src/flow_analysis/flow_analysis.dart reported 66 hints, including:

line 30 col 7: Unnecessary new keyword.

line 35 col 7: Unnecessary new keyword.

line 39 col 5: Unnecessary new keyword.

line 45 col 7: Unnecessary new keyword.

line 60 col 16: Unnecessary new keyword.

Fix lib/src/base/errors.dart. (-22.17 points)

Analysis of lib/src/base/errors.dart reported 50 hints, including:

line 10 col 3: Prefer using /// for doc comments.

line 15 col 3: Prefer using /// for doc comments.

line 21 col 3: Prefer using /// for doc comments.

line 28 col 3: Prefer using /// for doc comments.

line 34 col 3: Prefer using /// for doc comments.

Maintenance issues and suggestions

Provide a file named CHANGELOG.md. (-20 points)

Changelog entries help developers follow the progress of your package. See the example generated by stagehand.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.2.2 <3.0.0
meta ^1.0.2 1.1.8
Dev dependencies
test ^1.3.4