cbl_ffi 0.8.2+1 cbl_ffi: ^0.8.2+1 copied to clipboard
FFI bindings for the CouchbaseLite C API and the Dart support layer.
We analyzed this package 31 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
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.
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.
- contains
Repository has no matching pubspec.yaml
with name: cbl_ffi
.
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
.
0/10 points: 20% or more of the public API has dartdoc comments
53 out of 627 API elements (8.5 %) 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
, cbl_ffi.ArrayBindings.asMutable
, cbl_ffi.ArrayBindings.count
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
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
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.
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
╷
11 │ typedef _CBLDart_AsyncCallback_New_C = Pointer<CBLDartAsyncCallback> Function(
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
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
╷
16 │ typedef _CBLDart_AsyncCallback_New = Pointer<CBLDartAsyncCallback> Function(
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/async_callback.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
cbl_libcblite_api |
^3.1.1 |
3.2.0 | 3.2.0 |
cbl_libcblitedart_api |
^6.0.0 |
6.0.0 | 7.1.0 |
ffi |
^2.0.1 |
2.1.3 | 2.1.3 |
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.
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.