iron_db 0.2.0
iron_db: ^0.2.0 copied to clipboard
A simple and convenient key-value database.
We analyzed this package 17 hours ago, and awarded it 135 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.
5/5 points: Provide a valid README.md
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
18 out of 19 API elements (94.7 %) have documentation comments.
Some symbols that are missing documentation: iron_db
.
10/10 points: Package has 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:iron_db/iron_db.dart
that imports:package:iron_db/src/iron_impl.dart
that imports:package:iron_db/src/utils_web.dart
that imports:package:iron_db/src/database_assets.dart
that imports:package:iron_db/src/isolate_transformer.dart
that imports:dart:isolate
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:iron_db/iron_db.dart
that imports:package:iron_db/src/iron_impl.dart
that imports:package:iron_db/src/utils_flutter.dart
that imports:package:iron_db/src/database_impl.dart
that imports:package:iron_db/src/isolate_transformer.dart
that imports:dart:isolate
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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/database.dart:22:20
╷
22 │ /// 该方法返回的是Future<T?>,T?是可能为空的T类型
│ ^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/database.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/utils_cmd.dart:11:17
╷
11 │ /// mac: /Users/<username>/Library/Containers/<organization>.<app_name>/Data/tmp
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/utils_cmd.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
crypto |
^3.0.3 |
3.0.6 | 3.0.6 | |
logging |
^1.2.0 |
1.3.0 | 1.3.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.3 |
2.1.5 | 2.1.5 | |
shared_preferences |
^2.2.3 |
2.5.3 | 2.5.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 7.0.1 | 7.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path_provider_android |
- | 2.2.20 | 2.2.20 | |
path_provider_foundation |
- | 2.4.2 | 2.4.2 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
shared_preferences_android |
- | 2.4.15 | 2.4.15 | |
shared_preferences_foundation |
- | 2.5.4 | 2.5.4 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
xdg_directories |
- | 1.1.0 | 1.1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.24
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.