resource_repository_objectbox 0.0.1 copy "resource_repository_objectbox: ^0.0.1" to clipboard
resource_repository_objectbox: ^0.0.1 copied to clipboard

ObjectBox storage for the resource_repository package.

1
likes
80/ 160
pub points
0%
popularity

We analyzed this package 4 days ago, and awarded it 80 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 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: GPL-3.0.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

10 out of 11 API elements (90.9 %) have documentation comments.

Some symbols that are missing documentation: resource_repository_objectbox.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

0/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

ERROR: The argument type 'String Function(dynamic)' can't be assigned to the parameter type 'Fun1

lib/src/objectbox_cache_storage_impl.dart:39:63

   ╷
39 │             ((value) => Executor().execute(arg1: value, fun1: _jsonEncode)),
   │                                                               ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/objectbox_cache_storage_impl.dart

ERROR: The argument type 'dynamic Function(String)' can't be assigned to the parameter type 'Fun1

lib/src/objectbox_cache_storage_impl.dart:41:50

   ╷
41 │             Executor().execute(arg1: data, fun1: _jsonDecode).then(decode));
   │                                                  ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/objectbox_cache_storage_impl.dart

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
flat_buffers ^2.0.5 2.0.5 23.5.26
flutter flutter 0.0.0 0.0.0
objectbox ^1.5.0 1.7.2 4.0.3
objectbox_flutter_libs ^1.5.0 1.7.2 4.0.3
resource_repository_storage ^0.0.2+1 0.0.2+1 0.0.2+1
rxdart ^0.27.4 0.27.7 0.28.0
synchronized ^3.0.0+2 3.3.0+3 3.3.0+3
worker_manager ^4.2.6 4.5.1 7.2.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
collection - 1.18.0 1.19.1
ffi - 2.1.3 2.1.3
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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
sky_engine - 0.0.99 0.0.99
vector_math - 2.1.4 2.1.4
xdg_directories - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^2.0.5` on flat_buffers does not support the stable version `23.5.26`.

Try running dart pub upgrade --major-versions flat_buffers to update the constraint.

The constraint `^1.5.0` on objectbox does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions objectbox to update the constraint.

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.