kernel 0.3.29

Dart IR (Intermediate Representation)

2
likes
25 / 110
pub points
83 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 25 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 README.md

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` 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: 20% or more of the public API has dartdoc comments

  • 793 out of 5104 API elements (15.5 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

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:kernel/kernel.dart that imports:
  • dart:io
Pass static analysis
0 / 30

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

Found 1776 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'package:front_end/src/api_prototype/constant_evaluator.dart'.

bin/transform.dart:9:8

  ╷
9 │ import 'package:front_end/src/api_prototype/constant_evaluator.dart'
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/transform.dart

INFO: Unnecessary new keyword.

bin/count_breakdown.dart:24:25

   ╷
24 │   TypeCounter counter = new TypeCounter();
   │                         ^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer bin/count_breakdown.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 kernel depends on testing any which doesn't exist (could not find package testing at https://pub.dartlang.org), version solving failed.

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