optris_connect_sdk 1.0.0 optris_connect_sdk: ^1.0.0 copied to clipboard
Optris ffi adapter for Optris Connect SDK
We analyzed this package 3 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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
2 out of 68 API elements (2.9 %) 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: optris_connect_sdk.Error
, optris_connect_sdk.Error.NO_ERROR
, optris_connect_sdk.Error.Error.convert
, optris_connect_sdk.Error.error
, optris_connect_sdk.FCOORD
.
10/10 points: Package has 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:optris_connect_sdk/optris_connect_sdk.dart
that imports:package:optris_connect_sdk/src/models/ir_image.dart
that imports:package:optris_connect_sdk/src/structs/frame_metadata_2.dart
that imports:package:optris_connect_sdk/src/structs/f_coord.dart
that imports:dart:ffi
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 47 issues. Showing the first 2:
WARNING: Unused import: 'structs/frame_metadata_2.dart'.
lib/src/def.dart:3:8
╷
3 │ import 'structs/frame_metadata_2.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/def.dart
INFO: The type name 'f_init_raw' isn't an UpperCamelCase identifier.
lib/src/def.dart:5:9
╷
5 │ typedef f_init_raw = Int32 Function(Int16);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/def.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^1.2.1 |
1.2.1 | 2.1.2 |
path |
^1.8.0 |
1.9.0 | 1.9.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.2.1` on ffi does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions ffi
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.5
, Dart 3.4.1
.
Check the analysis log for details.