cbl 0.6.0+1 copy "cbl: ^0.6.0+1" to clipboard
cbl: ^0.6.0+1 copied to clipboard

Couchbase Lite is an embedded, NoSQL JSON Document Style database, supporting Blobs, Encryption, N1QL Queries, Live Queries, Full-Text Search and Data Sync.

68
likes
120/ 160
pub points
88%
popularity

We analyzed this package 29 hours ago, and awarded it 120 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

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/cofu-app/cbl-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: cbl,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/cbl/pubspec.yaml from the repository URL mismatch: expected https://github.com/cofu-app/cbl-dart but got https://github.com/cbl-dart/cbl-dart.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

326 out of 362 API elements (90.1 %) have documentation comments.

Some symbols that are missing documentation: cbl, cbl.Array.toObject, cbl.BaseException, cbl.BaseException.BaseException, cbl.BaseException.message.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

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:cbl/cbl.dart that imports:
  • package:cbl/src/resource.dart that imports:
  • package:cbl/src/native_object.dart that imports:
  • package:cbl/src/worker/worker.dart that imports:
  • dart:isolate

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cbl/cbl.dart that imports:
  • package:cbl/src/resource.dart that imports:
  • package:cbl/src/native_object.dart that imports:
  • package:cbl/src/worker/worker.dart that imports:
  • dart:isolate

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.

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

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

Found 7 issues. Showing the first 2:

WARNING: Unnecessary type check; the result is always 'true'.

lib/src/native_callback.dart:61:12

   ╷
61 │     assert(message is List, 'callback call message must be a list');
   │            ^^^^^^^^^^^^^^^
   ╵

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

WARNING: This function has a nullable return type of 'WorkerResponse

lib/src/worker/cbl_worker.dart:62:55

   ╷
62 │ ErrorHandler CBLErrorExceptionHandler() => (error, _) {
   │                                                       ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/worker/cbl_worker.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
cbl_ffi ^0.6.0+1 0.6.0+1 0.8.2+1
characters ^1.1.0 1.3.1 1.3.1
collection ^1.15.0 1.19.1 1.19.1
ffi ^1.0.0 1.2.1 2.1.3
logging ^1.0.0 1.3.0 1.3.0
meta ^1.3.0 1.16.0 1.16.0
synchronized ^3.0.0 3.3.0+3 3.3.0+3
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
cbl_native - 4.2.2 4.2.2
http - 0.13.6 1.2.2
http_parser - 4.1.1 4.1.1
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
yaml - 3.1.2 3.1.2

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

The constraint `^0.6.0+1` on cbl_ffi does not support the stable version `0.7.0`.

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

The constraint `^1.0.0` on ffi does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions ffi 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, Dart 3.5.4.

Check the analysis log for details.

68
likes
120
pub points
88%
popularity

Publisher

verified publishercbl-dart.dev

Couchbase Lite is an embedded, NoSQL JSON Document Style database, supporting Blobs, Encryption, N1QL Queries, Live Queries, Full-Text Search and Data Sync.

Homepage
Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cbl_ffi, characters, collection, ffi, logging, meta, synchronized

More

Packages that depend on cbl