script1 0.0.4
script1: ^0.0.4 copied to clipboard
Script1 language - system library
We analyzed this package 2 days ago, and awarded it 70 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 50 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: script1
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Repository has multiple matching pubspec.yaml
with name: script1
.
Homepage URL doesn't exist.
At the time of the analysis https://script1.org
was unreachable. Make sure that the website is reachable via HEAD
requests.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
33 out of 89 API elements (37.1 %) have documentation comments.
Some symbols that are missing documentation: script1.Point.x
, script1.Point.y
, script1.Rectangle.bottomLeft
, script1.Rectangle.bottomRight
, script1.Rectangle.topLeft
.
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:script1/script1.dart
that imports:package:script1/src/fs.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
ERROR: The name 'pow' is defined in the libraries 'package:script1/src/math.dart' and 'dart:math'.
lib/script1.dart:17:8
╷
17 │ export 'dart:math';
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/script1.dart
ERROR: A value of type 'String?' can't be returned from the function 'input' because it has a return type of 'String'.
lib/src/console.dart:9:10
╷
9 │ return stdin.readLineSync();
│ ^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/console.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
crypto |
^3.0.2 |
3.0.6 | 3.0.6 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
typed_data |
- | 1.4.0 | 1.4.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
AMBIGUOUS_EXPORT
-lib/script1.dart:17:8
- The name 'pow' is defined in the libraries 'package:script1/src/math.dart' and 'dart:math'.RETURN_OF_INVALID_TYPE
-lib/src/console.dart:9:10
- A value of type 'String?' can't be returned from the function 'input' because it has a return type of 'String'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.21
, Dart 3.8.1
.
Check the analysis log for details.