json2dart_dbffi 1.0.8
json2dart_dbffi: ^1.0.8 copied to clipboard
use json2dart_safe togethor to surppot the database for platform contains Android,Ios,Macos,Window and Linux,easy support.
We analyzed this package 3 hours ago, and awarded it 100 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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` does not contain reference to the current version ("1.0.8").
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
58 out of 98 API elements (59.2 %) have documentation comments.
Some symbols that are missing documentation: abstract_base_dao.ABBaseDao.ABBaseDao.new
, abstract_base_dao.ABBaseDao.addColumn
, abstract_base_dao.ABBaseDao.fromJson
, base_dao
, base_dao.BaseDao.BaseDao.new
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 does not support platform `Web`.
Because:
package:json2dart_dbffi/json2dart_dbffi.dart
that imports:package:json2dart_dbffi/database/base_db_manager.dart
that imports:package:path_provider/path_provider.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:json2dart_dbffi/json2dart_dbffi.dart
that imports:package:json2dart_dbffi/database/base_db_manager.dart
that imports:package:path_provider/path_provider.dart
that imports:package:path_provider_platform_interface/path_provider_platform_interface.dart
that imports:package:path_provider_platform_interface/src/method_channel_path_provider.dart
that imports:package:platform/platform.dart
that imports:package:platform/src/interface/local_platform.dart
that imports:dart:io
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: The declaration '_createDbPath' isn't referenced.
lib/database/base_db_manager.dart:68:25
╷
68 │ static Future<String> _createDbPath() async {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/database/base_db_manager.dart
INFO: Dangling library doc comment.
lib/database/abstract_base_dao.dart:1:1
╷
1 │ /// @date 19/6/22
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/database/abstract_base_dao.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
json2dart_safe |
any |
1.6.0 | 1.6.0 | |
path |
any |
1.9.1 | 1.9.1 | |
path_provider |
any |
2.1.5 | 2.1.5 | |
sqflite_common |
any |
2.5.6 | 2.5.6 | |
sqflite_common_ffi |
any |
2.3.6 | 2.3.6 |
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 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path_provider_android |
- | 2.2.18 | 2.2.18 | |
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 | |
sqlite3 |
- | 2.9.1 | 2.9.1 | |
synchronized |
- | 3.4.0 | 3.4.0 | |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
UNDEFINED_CLASS
-lib/database/base_db_manager.dart:12:3
- Undefined class 'Database'.UNDEFINED_CLASS
-lib/database/base_db_manager.dart:14:3
- Undefined class 'Database'.UNDEFINED_CLASS
-lib/database/base_db_manager.dart:28:28
- Undefined class 'Database'.
Run flutter pub downgrade
and then flutter 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.22.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.