dart_duckdb 1.1.3 copy "dart_duckdb: ^1.1.3" to clipboard
dart_duckdb: ^1.1.3 copied to clipboard

Provides lightweight yet convenient bindings to DuckDB by using dart:ffi

7
likes
120/ 160
pub points
73
downloads

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

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/duckdb/duckdb/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

80 out of 112 API elements (71.4 %) have documentation comments.

Some symbols that are missing documentation: dart_duckdb.DatabaseType.dartType, dart_duckdb.DatabaseType.isDate, dart_duckdb.DatabaseType.isNumeric, dart_duckdb.DatabaseType.value, dart_duckdb.Date.Date.fromDateTime.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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 does not support platform `Web`.

Because:

  • package:dart_duckdb/dart_duckdb.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dart_duckdb/dart_duckdb.dart that imports:
  • package:dart_duckdb/src/api/result_set.dart that imports:
  • package:dart_duckdb/src/api/database_type.dart that imports:
  • package:dart_duckdb/src/ffi/duckdb.g.dart that imports:
  • dart:ffi

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.

0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/dart_duckdb/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
Pass static analysis
30 / 50trigger folding of the section

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

Found 14 issues. Showing the first 2:

WARNING: The declaration '__mbstate_t' isn't referenced.

lib/src/ffi/duckdb.g.dart:8350:13

     ╷
8350 │ final class __mbstate_t extends ffi.Union {
     │             ^^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ffi/duckdb.g.dart

WARNING: The value of the field '__mbstate8' isn't used.

lib/src/ffi/duckdb.g.dart:8352:32

     ╷
8352 │   external ffi.Array<ffi.Char> __mbstate8;
     │                                ^^^^^^^^^^
     ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ffi/duckdb.g.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
async ^2.11.0 2.12.0 2.12.0
collection ^1.17.0 1.19.1 1.19.1
ffi ^2.0.1 2.1.3 2.1.3
intl ^0.19.0 0.19.0 0.20.1
meta ^1.8.0 1.16.0 1.16.0
path ^1.8.2 1.9.1 1.9.1
uuid ^4.4.0 4.5.1 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.2 1.1.2
crypto - 3.0.6 3.0.6
fixnum - 1.1.1 1.1.1
sprintf - 7.0.0 7.0.0
typed_data - 1.4.0 1.4.0

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

The constraint `^0.19.0` on intl does not support the stable version `0.20.0`.

Try running dart pub upgrade --major-versions intl 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.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.

7
likes
120
points
73
downloads

Publisher

verified publishertigereye.com

Weekly Downloads

Provides lightweight yet convenient bindings to DuckDB by using dart:ffi

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

async, collection, ffi, intl, meta, path, uuid

More

Packages that depend on dart_duckdb