gbk_codec_nohtml 1.0.0
gbk_codec_nohtml: ^1.0.0 copied to clipboard
GBK codec converter (enCode and deCode) library includes bytes codec.
We analyzed this package 6 days ago, and awarded it 115 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository 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: gbk_codec_nohtml, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Repository has no matching pubspec.yaml with name: gbk_codec_nohtml.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.0").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT.
10/10 points: 20% or more of the public API has dartdoc comments
1 out of 3 API elements (33.3 %) have documentation comments.
Some symbols that are missing documentation: gbk_codec.gbk, gbk_codec.gbk_bytes.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
0/0 points: WASM compatibility
This package is compatible with runtime wasm, and will be rewarded additional 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 17 issues. Showing the first 2:
WARNING: The operand can't be 'null', so the condition is always 'true'.
lib/src/converter_gbk.dart:45:25
╷
45 │ } else if (charCode != null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/converter_gbk.dart
INFO: The variable name '_gbkCode_to_char' isn't a lowerCamelCase identifier.
lib/src/converter_gbk.dart:7:18
╷
7 │ Map<int, String> _gbkCode_to_char = {};
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/converter_gbk.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.23.0, Dart 3.9.4.
Check the analysis log for details.