zart 1.2.0 zart: ^1.2.0 copied to clipboard
Dart implementation of the Infocom Z-Machine.
We analyzed this package 4 days ago, and awarded it 115 pub points (of a possible 160):
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.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: zart
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository defines publish_to
, thus, we are unable to verify the package is published from here.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:26:4
╷
26 │ <p><a href="http://inform7.com/">http://inform7.com/</a></p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
135 out of 545 API elements (24.8 %) have documentation comments.
Some symbols that are missing documentation: binary_helper
, blorb
, d_random
, d_random.DRandom.DRandom.withSeed
, d_random.DRandom.inext
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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:zart/zart.dart
that imports:package:zart/z_machine.dart
that imports:package:zart/mixins/loggable.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:zart/zart.dart
that imports:package:zart/z_machine.dart
that imports:package:zart/mixins/loggable.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 33 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/engines/engine.dart:234:12
╷
234 │ assert(testResult is bool);
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/engines/engine.dart
INFO: The type name 'ioCommands' isn't an UpperCamelCase identifier.
lib/IO/io_provider.dart:42:6
╷
42 │ enum ioCommands { print, status, clearScreen, splitScreen, setWindow, setFont, save, restore, read, readChar, quit, printDebug, async, setCursor }
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/IO/io_provider.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
logging |
^1.0.2 |
1.3.0 | 1.3.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.