cbl_ffi 0.8.2+1 copy "cbl_ffi: ^0.8.2+1" to clipboard
cbl_ffi: ^0.8.2+1 copied to clipboard

FFI bindings for the CouchbaseLite C API and the Dart support layer.

0
likes
110/ 160
pub points
219
downloads

We analyzed this package 6 days ago, and awarded it 110 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: cbl_ffi,
    • contains a version property, and,
    • does not contain a publish_to property.

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

Homepage URL doesn't exist.

At the time of the analysis https://github.com/cbl-dart/cbl-dart/tree/main/packages/cbl_ffi 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/cbl-dart/cbl-dart/issues 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
0 / 20trigger folding of the section

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

53 out of 629 API elements (8.4 %) 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: cbl_ffi, cbl_ffi.ArrayBindings, cbl_ffi.ArrayBindings.ArrayBindings.new, cbl_ffi.ArrayBindings.asMutable, cbl_ffi.ArrayBindings.count.

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:cbl_ffi/cbl_ffi.dart that imports:
  • package:cbl_ffi/src/utils.dart that imports:
  • package:cbl_ffi/src/slice.dart that imports:
  • package:cbl_ffi/src/global.dart that imports:
  • package:cbl_ffi/src/fleece.dart that imports:
  • package:cbl_ffi/src/data.dart that imports:
  • dart:isolate

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:cbl_ffi/cbl_ffi.dart that imports:
  • package:cbl_ffi/src/utils.dart that imports:
  • package:cbl_ffi/src/slice.dart that imports:
  • package:cbl_ffi/src/global.dart that imports:
  • package:cbl_ffi/src/fleece.dart that imports:
  • package:cbl_ffi/src/data.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.

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 344 issues. Showing the first 2:

INFO: The type name '_CBLDart_AsyncCallback_New_C' isn't an UpperCamelCase identifier.

lib/src/async_callback.dart:11:9

11typedef _CBLDart_AsyncCallback_New_C = Pointer<CBLDartAsyncCallback> Function(
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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

INFO: The type name '_CBLDart_AsyncCallback_New' isn't an UpperCamelCase identifier.

lib/src/async_callback.dart:16:9

16typedef _CBLDart_AsyncCallback_New = Pointer<CBLDartAsyncCallback> Function(
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run dart analyze lib/src/async_callback.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
cbl_libcblite_api ^3.1.1 3.2.0 3.2.0
cbl_libcblitedart_api ^6.0.0 6.0.0 8.1.1
ffi ^2.0.1 2.1.4 2.1.4
meta ^1.3.0 1.16.0 1.16.0

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

The constraint `^6.0.0` on cbl_libcblitedart_api does not support the stable version `7.0.0`.

Try running dart pub upgrade --major-versions cbl_libcblitedart_api 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.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 10050100150200250300>=0.0.0-0 <1.0.0
0
likes
110
points
219
downloads

Publisher

verified publishergabriel.terwesten.net

Weekly Downloads

2024.09.16 - 2025.03.31

FFI bindings for the CouchbaseLite C API and the Dart support layer.

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

cbl_libcblite_api, cbl_libcblitedart_api, ffi, meta

More

Packages that depend on cbl_ffi