ctool 0.0.3 ctool: ^0.0.3 copied to clipboard
一个工具包,包含json序列化,以及反射的一些封装方法
We analyzed this package 15 hours ago, and awarded it 120 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.
The package description contains too many non-ASCII characters.
The site uses English as its primary language. The content of the description
field in your package's pubspec.yaml
should primarily contain characters used in English.
0/5 points: Provide a valid README.md
`README.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of README.md
in your package should primarily contain characters used in English.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` contains too many non-ASCII characters.
The site uses English as its primary language. The content of CHANGELOG.md
in your package should primarily contain characters used in English.
10/10 points: Use an OSI-approved license
Detected license: EPL-1.0
.
10/10 points: 20% or more of the public API has dartdoc comments
13 out of 25 API elements (52.0 %) have documentation comments.
Some symbols that are missing documentation: ctool
, ctool.JSON
, ctool.JSON.JSON
, ctool.JSON.decodeJsonClass
, ctool.JSON.decodeMapClass
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Android
Because:
package:ctool/ctool.dart
that imports:package:ctool/src/model/MemberInfo.dart
that imports:dart:mirrors
Package not compatible with platform iOS
Because:
package:ctool/ctool.dart
that imports:package:ctool/src/model/MemberInfo.dart
that imports:dart:mirrors
Package not compatible with platform Web
Because:
package:ctool/ctool.dart
that imports:package:ctool/src/model/MemberInfo.dart
that imports:dart:mirrors
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:ctool/ctool.dart
that imports:package:ctool/src/model/MemberInfo.dart
that imports:dart:mirrors
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
INFO: The file name 'JSON.dart' isn't a lower_case_with_underscores identifier.
To reproduce make sure you are using the lints_core and run dart analyze lib/src/JSON.dart
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/src/JSON.dart:42:11
╷
42 │ if (tar.length == 0) return;
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/JSON.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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.13
, Dart 3.5.3
.
Check the analysis log for details.