codde_protocol 0.1.5 codde_protocol: ^0.1.5 copied to clipboard
Multi Communication protocol in heart of the C.O.D.D.E. Pi framework
We analyzed this package 20 hours ago, and awarded it 70 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/codde_pi/codde_protocol
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: codde_protocol
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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: AGPL-3.0
.
0/10 points: 20% or more of the public API has dartdoc comments
40 out of 316 API elements (12.7 %) 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: codde_protocol.CoddePiClient
, codde_protocol.CoddePiClient.CoddePiClient
, codde_protocol.CoddePiClient.dummy
, codde_protocol.CoddePiClient.useSocket
, codde_protocol.ComSocketClient
.
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
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 40 issues. Showing the first 2:
ERROR: The class 'RustOpaque' doesn't have a constructor named 'dcoDecode'.
lib/src/api/base/frame.dart:13:38
╷
13 │ U8.dcoDecode(List<dynamic> wire) : super.dcoDecode(wire, _kStaticData);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/base/frame.dart
ERROR: The class 'RustOpaque' doesn't have a constructor named 'sseDecode'.
lib/src/api/base/frame.dart:16:9
╷
16 │ : super.sseDecode(ptr, externalSizeOnNative, _kStaticData);
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api/base/frame.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^2.1.0 |
2.1.3 | 2.1.3 |
flutter_rust_bridge |
^2.0.0-dev.30 |
2.7.0 | 2.7.0 |
freezed_annotation |
^2.4.1 |
2.4.4 | 2.4.4 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
args |
- | 2.6.0 | 2.6.0 |
async |
- | 2.12.0 | 2.12.0 |
build_cli_annotations |
- | 2.1.0 | 2.1.0 |
collection |
- | 1.19.1 | 1.19.1 |
json_annotation |
- | 4.9.0 | 4.9.0 |
meta |
- | 1.16.0 | 1.16.0 |
path |
- | 1.9.1 | 1.9.1 |
web |
- | 1.1.0 | 1.1.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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 37 errors:
UNDEFINED_CONSTRUCTOR_IN_INITIALIZER
-lib/src/api/base/frame.dart:13:38
- The class 'RustOpaque' doesn't have a constructor named 'dcoDecode'.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER
-lib/src/api/base/frame.dart:16:9
- The class 'RustOpaque' doesn't have a constructor named 'sseDecode'.UNDEFINED_CONSTRUCTOR_IN_INITIALIZER
-lib/src/api/base/widget_registry.dart:23:39
- The class 'RustOpaque' doesn't have a constructor named 'dcoDecode'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.17
, Dart 3.6.0
.
Check the analysis log for details.