foodb_objectbox_adapter 0.13.0
foodb_objectbox_adapter: ^0.13.0 copied to clipboard
Foodb database persistance using object
We analyzed this package 2 days ago, and awarded it 130 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
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
368 out of 611 API elements (60.2 %) have documentation comments.
Some symbols that are missing documentation: foodb_objectbox_adapter
, foodb_objectbox_adapter.ObjectBoxAdapter
, foodb_objectbox_adapter.ObjectBoxAdapter.ObjectBoxAdapter.new
, foodb_objectbox_adapter.ObjectBoxAdapter.allDocViewName
, foodb_objectbox_adapter.ObjectBoxAdapter.clearTable
.
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:foodb_objectbox_adapter/foodb_objectbox_adapter.dart
that imports:package:foodb_objectbox_adapter/objectbox.g.dart
that imports:package:objectbox_flutter_libs/objectbox_flutter_libs.dart
that declares support for platforms:Android
,iOS
,Windows
,Linux
,macOS
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:foodb_objectbox_adapter/foodb_objectbox_adapter.dart
that imports:package:foodb_objectbox_adapter/objectbox.g.dart
that imports:package:foodb_objectbox_adapter/object_box_entity.dart
that imports:package:objectbox/objectbox.dart
that imports:package:objectbox/src/transaction.dart
that imports:package:objectbox/src/native/transaction.dart
that imports:package:objectbox/src/native/bindings/helpers.dart
that imports:package:objectbox/src/native/bindings/bindings.dart
that imports:package:objectbox/src/native/bindings/objectbox_c.dart
that 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/foodb_objectbox_adapter.dart:136:9
╷
136 │ if (list.length > 0) return list[0];
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/foodb_objectbox_adapter.dart
INFO: Use 'isNotEmpty' instead of 'length' to test whether the collection is empty.
lib/foodb_objectbox_adapter.dart:204:9
╷
204 │ if (docs.length > 0) {
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/foodb_objectbox_adapter.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
flat_buffers |
^23.5.26 |
23.5.26 | 23.5.26 | |
foodb |
^0.13.0 |
0.13.0 | 0.13.0 | |
objectbox |
^4.0.1 |
4.2.0 | 4.2.0 | |
objectbox_flutter_libs |
^4.0.1 |
4.2.0 | 4.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.3.0 | 1.3.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
matcher |
- | 0.12.17 | 0.12.17 | |
material_color_utilities |
- | 0.11.1 | 0.12.0 | |
meta |
- | 1.16.0 | 1.16.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider |
- | 2.1.5 | 2.1.5 | |
path_provider_android |
- | 2.2.17 | 2.2.17 | |
path_provider_foundation |
- | 2.4.1 | 2.4.1 | |
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 | |
quiver |
- | 3.2.2 | 3.2.2 | |
source_span |
- | 1.10.1 | 1.10.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
synchronized |
- | 3.3.1 | 3.3.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.4 | 0.7.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uri |
- | 1.0.0 | 1.0.0 | |
uuid |
- | 4.5.1 | 4.5.1 | |
vector_math |
- | 2.1.4 | 2.1.5 | |
web |
- | 0.5.1 | 1.1.1 | |
web_socket_channel |
- | 2.4.5 | 3.0.3 | |
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.20
, Flutter 3.29.2
, Dart 3.7.2
.
Check the analysis log for details.