dart_brotli 0.0.3
dart_brotli: ^0.0.3 copied to clipboard
A brotli encoder/decoder for Dart.
We analyzed this package 3 days ago, and awarded it 105 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.
Homepage URL doesn't exist.
At the time of the analysis https://github.com/linkkader/brotli_dart/blob/main/example/lib/dart_brotli_example.dart was unreachable. Make sure that the website is reachable via HEAD requests.
Repository URL doesn't exist.
At the time of the analysis https://github.com/linkkader/brotli_dart was unreachable. Make sure that the website is reachable via HEAD requests.
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 ("0.0.3").
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
4 out of 18 API elements (22.2 %) have documentation comments.
Some symbols that are missing documentation: dart_brotli.Brotli, dart_brotli.Brotli.Brotli.new, dart_brotli.Brotli.compress, dart_brotli.Brotli.decompress, dart_brotli.Brotli.init.
10/10 points: Package has an example
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
These platforms are not supported:
Package not compatible with platform Android
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:dart:cli
Package not compatible with platform iOS
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:dart:cli
Package not compatible with platform Windows
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:dart:cli
Package not compatible with platform Linux
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:dart:cli
Package not compatible with platform macOS
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:dart:cli
Package not compatible with platform Web
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dart_brotli/dart_brotli.dartthat imports:package:dart_brotli/src/dart_brotli_base.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat imports:dart:ffi
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 6 issues. Showing the first 2:
WARNING: Unused import: 'dart:io'.
lib/dart_brotli.dart:6:8
╷
6 │ import 'dart:io';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/dart_brotli.dart
WARNING: Unused import: 'dart:cli'.
lib/src/dart_brotli_base.dart:2:8
╷
2 │ import 'dart:cli';
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/dart_brotli_base.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^2.0.1 |
2.1.4 | 2.1.4 |
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.1, Dart 3.10.0.
Check the analysis log for details.