couchbase_lite 3.0.0-nullsafety.2 copy "couchbase_lite: ^3.0.0-nullsafety.2" to clipboard
couchbase_lite: ^3.0.0-nullsafety.2 copied to clipboard

PlatformAndroidiOS
outdated

Flutter plugin for Couchbase Lite Community Edition, an embedded lightweight, noSQL database with live synchronization and offline support on Android and iOS.

105/ 160
pub points
21
downloads

We analyzed this package 10 hours ago, and awarded it 105 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:42:31

   ╷
42 │ <p>Setup beer-sample database <a href="http://127.0.0.1:8091/">Local Couchbase Server</a>:</p>
   │                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

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

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

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

103 out of 437 API elements (23.6 %) have documentation comments.

Some symbols that are missing documentation: couchbase_lite, couchbase_lite.ArrayExpression, couchbase_lite.ArrayExpression.ArrayExpression.new, couchbase_lite.ArrayExpression.any, couchbase_lite.ArrayExpression.every.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:couchbase_lite/couchbase_lite.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:couchbase_lite/couchbase_lite.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:couchbase_lite/couchbase_lite.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:couchbase_lite/couchbase_lite.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on iOS

It does not contain ios/couchbase_lite/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 60 issues. Showing the first 2:

WARNING: The operand can't be 'null', so the condition is always 'false'.

lib/src/query/expression/array_expression.dart:16:28

   ╷
16 │     if (variableExpression == null) {
   │                            ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/query/expression/array_expression.dart

WARNING: The operand can't be 'null', so the condition is always 'false'.

lib/src/query/expression/array_expression.dart:23:28

   ╷
23 │     if (variableExpression == null) {
   │                            ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/query/expression/array_expression.dart

Failed report section
Support up-to-date dependencies
10 / 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
built_collection >=2.0.0 <6.0.0 5.1.1 5.1.1
built_value >=5.5.5 <9.0.0 8.12.1 8.12.1
meta >=1.1.6 <2.0.0 1.17.0 1.17.0
uuid >=2.0.4 <4.0.0 3.0.7 4.5.2
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
material_color_utilities - 0.11.1 0.13.0
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.2.0

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

The constraint `>=2.0.4 <4.0.0` on uuid does not support the stable version `4.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 9 errors:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/document_replication.dart:43:41 - The argument type 'Map<dynamic, dynamic>?' can't be assigned to the parameter type 'Object'.
  • INVALID_OVERRIDE - lib/src/document_replication.g.dart:23:21 - '_$DocumentReplicationSerializer.serialize' ('Iterable<Object?> Function(Serializers, DocumentReplication, {FullType specifiedType})') isn't a valid override of 'StructuredSerializer.serialize' ('Iterable

Analyzed with Pana 0.23.5, Flutter 3.38.5, Dart 3.10.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
46
likes
105
points
21
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin for Couchbase Lite Community Edition, an embedded lightweight, noSQL database with live synchronization and offline support on Android and iOS.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

built_collection, built_value, flutter, meta, uuid

More

Packages that depend on couchbase_lite

Packages that implement couchbase_lite