ack_example 1.0.0-beta.1
ack_example: ^1.0.0-beta.1 copied to clipboard
Example project for ACK schema generation.
We analyzed this package 3 days ago, and awarded it 50 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.
example/pubspec.yaml from the repository has no repository or homepage URL.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: ack_example, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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
102 out of 483 API elements (21.1 %) have documentation comments.
Some symbols that are missing documentation: anyof_example, anyof_example.ApiResponse.ApiResponse.new, anyof_example.ApiResponse.data, anyof_example.ApiResponse.status, anyof_example.BooleanSetting.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 93 issues. Showing the first 2:
ERROR: The named parameter 'description' isn't defined.
lib/anyof_example.dart:25:11
╷
25 │ @AckModel(description: 'API response with different possible payloads')
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/anyof_example.dart
ERROR: The named parameter 'description' isn't defined.
lib/anyof_example.dart:85:11
╷
85 │ @AckModel(description: 'Configuration setting with flexible value type')
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/anyof_example.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ack |
^1.0.0-beta.1 |
1.5.0 | 1.5.0 | |
ack_annotations |
^1.0.0-beta.1 |
1.5.0 | 1.5.0 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 | |
json_annotation |
- | 4.12.0 | 4.12.0 | |
meta |
- | 1.19.0 | 1.19.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 65 errors:
UNDEFINED_ANNOTATION-lib/anyof_example.dart:25:1- Undefined name 'AckModel' used as an annotation.UNDEFINED_ANNOTATION-lib/anyof_example.dart:45:1- Undefined name 'AckModel' used as an annotation.UNDEFINED_ANNOTATION-lib/anyof_example.dart:58:1- Undefined name 'AckModel' used as an annotation.
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.23.19, Dart 3.13.1.
Check the analysis log for details.