sqlite3 1.11.2 sqlite3: ^1.11.2 copied to clipboard
Provides lightweight yet convenient bindings to SQLite by using dart:ffi
We analyzed this package 2 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Issue tracker URL doesn't exist.
At the time of the analysis https://github.com/simolus3/sqlite3.dart/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
322 out of 344 API elements (93.6 %) have documentation comments.
Some symbols that are missing documentation: open.OperatingSystem
, sqlite3.wasm.CommmonSqlite3
, sqlite3.wasm.AllowedArgumentCount.AllowedArgumentCount.any
, sqlite3.wasm.AllowedArgumentCount.allowedArgs
, sqlite3.wasm.FileSystemException.errorCode
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
These issues are present but do not affect the score, because they may not originate in your package:
Package not compatible with platform Web
Because:
package:sqlite3/sqlite3.dart
that imports:package:sqlite3/src/ffi/api.dart
that imports:package:sqlite3/src/ffi/implementation.dart
that imports:package:sqlite3/src/ffi/sqlite3.g.dart
that imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sqlite3/sqlite3.dart
that imports:package:sqlite3/src/ffi/api.dart
that imports:package:sqlite3/src/ffi/implementation.dart
that imports:package:sqlite3/src/ffi/sqlite3.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.
lib/src/ffi/bindings.dart:302:13
╷
302 │ sql.elementAt(byteOffset).cast(),
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/bindings.dart
INFO: 'elementAt' is deprecated and shouldn't be used. Use operator + instead.
lib/src/ffi/bindings.dart:317:13
╷
317 │ sql.elementAt(byteOffset).cast(),
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/ffi/bindings.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.15.0 |
1.19.1 | 1.19.1 |
ffi |
>=1.2.1 <3.0.0 |
2.1.3 | 2.1.3 |
js |
^0.6.4 |
0.6.7 | 0.7.1 |
meta |
^1.3.0 |
1.16.0 | 1.16.0 |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.6.4` on js does not support the stable version `0.7.0`.
Try running dart pub upgrade --major-versions js
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.