dart_duckdb 1.0.2 dart_duckdb: ^1.0.2 copied to clipboard
Provides lightweight yet convenient bindings to DuckDB by using dart:ffi
We analyzed this package 41 hours ago, and awarded it 120 pub points (of a possible 160):
0/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
.
10/10 points: 20% or more of the public API has dartdoc comments
76 out of 107 API elements (71.0 %) have documentation comments.
Some symbols that are missing documentation: dart_duckdb.DatabaseType.dartType
, dart_duckdb.DatabaseType.isDate
, dart_duckdb.DatabaseType.isNumeric
, dart_duckdb.Date.Date.fromDateTime
, dart_duckdb.Date.Date.ymd
.
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 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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
WARNING: The value of the field '__deprecated_data' isn't used.
lib/src/ffi/duckdb.g.dart:6411:34
╷
6411 │ external ffi.Pointer<ffi.Void> __deprecated_data;
│ ^^^^^^^^^^^^^^^^^
╵
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 '__deprecated_nullmask' isn't used.
lib/src/ffi/duckdb.g.dart:6413:34
╷
6413 │ external ffi.Pointer<ffi.Bool> __deprecated_nullmask;
│ ^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/ffi/duckdb.g.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
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.19.0 |
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
.
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.13
, Flutter 3.24.3
, Dart 3.5.3
.
Check the analysis log for details.