front_end 0.1.29

Dart native
Flutter Android iOS

Front end for compilation of Dart code.

45 / 110
pub points
84 %

We analyzed this package on Sep 19, 2020, and awarded it 45 pub points (of a possible 110):

Follow Dart file conventions
5 / 20

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid

0/5 points: Provide a valid

No `` found.

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

Provide documentation
0 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

0/10 points: Failed to run dartdoc

  • Running dartdoc failed with the following output:
Unhandled exception:
dartdoc could not find any libraries to document
#0      Dartdoc.generateDocs (package:dartdoc/dartdoc.dart:225:9)
<asynchronous suspension>
#1      main (file:///project/pkg/pub_dartdoc/bin/pub_dartdoc.dart:32:33)
<asynchronous suspension>
#2      _startIsolate.<anonymous closure> (dart:isolate-patch/isolate_patch.dart:299:32)
#3      _RawReceivePortImpl._handleMessage (dart:isolate-patch/isolate_patch.dart:168:12)
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


  • package:front_end/src/api_prototype/compiler_options.dart that imports:
  • package:front_end/src/api_prototype/standard_file_system.dart that imports:
  • package:front_end/src/fasta/compiler_context.dart that imports:
  • package:front_end/src/fasta/colors.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 4581 issues. Showing the first 2:

INFO: Don't explicitly initialize variables to null.


138 │   Map<String, String> environmentDefines = null;
    │                       ^^^^^^^^^^^^^^^^^^^^^^^^^

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

INFO: Prefer using /// for doc comments.


64 │ ┌ /**
65 │ │  * Base class for all file system exceptions.
66 │ └  */

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

Support up-to-date dependencies
10 / 20

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

  • Could not run pub outdated: pub get failed:
Because front_end depends on build_integration from path which doesn't exist (could not find package build_integration at "../build_integration"), version solving failed.

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