universal_storage_interface 0.1.0-dev.5 copy "universal_storage_interface: ^0.1.0-dev.5" to clipboard
universal_storage_interface: ^0.1.0-dev.5 copied to clipboard

Interfaces and core models for universal storage providers (file, VCS, cloud). Shared contracts and exceptions.

120/ 160
pub points
51
downloads

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

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/xsoulspace/universal_storage_sync 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/xsoulspace/universal_storage_sync was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/xsoulspace/universal_storage_sync/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://github.com/xsoulspace/universal_storage_sync/tree/main/pkgs/universal_storage_interface was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

36 out of 200 API elements (18.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: universal_storage_interface.AuthenticationFailedException, universal_storage_interface.AuthenticationFailedException.AuthenticationFailedException.new, universal_storage_interface.ConfigurationException, universal_storage_interface.ConfigurationException.ConfigurationException.new, universal_storage_interface.FileEntry.FileEntry.fromJson.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:universal_storage_interface/universal_storage_interface.dart that imports:
  • package:universal_storage_interface/src/models/models.dart that imports:
  • package:universal_storage_interface/src/models/macos_bookmark.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:universal_storage_interface/universal_storage_interface.dart that imports:
  • package:universal_storage_interface/src/models/models.dart that imports:
  • package:universal_storage_interface/src/models/macos_bookmark.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.cn/web/wasm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 4 issues. Showing the first 2:

INFO: Statements in an if should be enclosed in a block.

lib/src/models/storage_config.dart:43:7

   ╷
43 │       throw ArgumentError('Pull strategy cannot be empty');
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

INFO: Statements in an if should be enclosed in a block.

lib/src/models/storage_config.dart:45:7

   ╷
45 │       throw ArgumentError('Push strategy cannot be empty');
   │       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest Notes
from_json_to_json ^0.2.1 0.2.1 0.3.0
meta ^1.16.0 1.17.0 1.17.0
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
is_dart_empty_or_not - 0.2.3 0.2.3

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

The constraint `^0.2.1` on from_json_to_json does not support the stable version `0.3.0`.

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
51
downloads

Publisher

unverified uploader

Weekly Downloads

Interfaces and core models for universal storage providers (file, VCS, cloud). Shared contracts and exceptions.

Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

from_json_to_json, meta

More

Packages that depend on universal_storage_interface