dio_cache_interceptor_db_store 3.0.2 copy "dio_cache_interceptor_db_store: ^3.0.2" to clipboard
dio_cache_interceptor_db_store: ^3.0.2 copied to clipboard

discontinuedreplaced by: http_cache_drift_store
outdated

A DB cache store implementation with Moor for dio_cache_interceptor package.

14
likes
80/ 160
pub points
6.04k
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: dio_cache_interceptor_db_store,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: dio_cache_interceptor_db_store.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/llfbandit/dio_cache_interceptor/tree/master/dio_cache_interceptor_db_store 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: Apache-2.0.

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

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

13 out of 16 API elements (81.3 %) have documentation comments.

Some symbols that are missing documentation: dio_cache_interceptor_db_store, dio_cache_interceptor_db_store.DbCacheStore.DbCacheStore.new, dio_cache_interceptor_db_store.DbCacheStore.tableName.

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 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

Failed check 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 report section
Pass static analysis
0 / 50trigger folding of the section

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

Found 28 issues. Showing the first 2:

ERROR: The named parameter 'requestDate' is required, but there's no corresponding argument.

lib/src/store/database.dart:69:12

   ╷
69 │     return CacheResponse(
   │            ^^^^^^^^^^^^^
   ╵

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

ERROR: Missing concrete implementation of 'getter ResultSetImplementation.attachedDatabase'.

lib/src/store/database.g.dart:389:7

    ╷
389 │ class DioCache extends Table with TableInfo<DioCache, DioCacheData> {
    │       ^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/store/database.g.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
dio_cache_interceptor ^3.0.1 3.5.1 4.0.3
moor ^4.4.1 4.6.1+1 4.6.1+1 Discontinued
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dio - 5.8.0+1 5.8.0+1
dio_web_adapter - 2.1.1 2.1.1
drift - 1.7.1 2.26.0
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
meta - 1.16.0 1.16.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
sqlite3 - 1.11.2 2.7.5
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
web - 1.1.1 1.1.1

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

The constraint `^3.0.1` on dio_cache_interceptor does not support the stable version `4.0.0`, that was published 21 days ago.

When dio_cache_interceptor is 30 days old, this package will no longer be awarded points in this category.

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

The package has one or more discontinued direct dependencies.

Discontinued packages are no longer maintained, and can end up being a liability.

Consider migrating away from these dependencies:

  • moor.

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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
14
likes
80
points
6.04k
downloads

Publisher

verified publisheropenapi4j.org

Weekly Downloads

A DB cache store implementation with Moor for dio_cache_interceptor package.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dio_cache_interceptor, moor, path

More

Packages that depend on dio_cache_interceptor_db_store