d2pc_lib 0.0.40
d2pc_lib: ^0.0.40 copied to clipboard
Flutter library to do 'device to pc' communication. This library provide APIs for establishing a connection, sending and receiving data, and managing the communication process between the device and the PC.
We analyzed this package 9 days ago, and awarded it 45 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
Repository URL doesn't exist.
At the time of the analysis https://github.com/stackmod/d2pc_lib was unreachable. Make sure that the website is reachable via HEAD requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.40").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting d2pc_lib... Discovering libraries... ERR: dartdoc 9.0.0 (/tmp/analyzerINGMBN/pub-cache/global_packages/dartdoc/bin/dartdoc.dart-3.10.3.snapshot) failed: fatal error: unable to locate the input directory at '/tmp/pana_OEGESL/lib/Utils'. #0 PubPackageMeta.fromDir (package:dartdoc/src/package_meta.dart:218:7) #1 PubPackageMeta.fromFilename (package:dartdoc/src/package_meta.dart:205:27) #2 PackageMetaProvider.fromFilename (package:dartdoc/src/package_meta.dart:82:55) #3 PubPackageBuilder._packageMetasForFiles (package:dartdoc/src/model/package_builder.dart:198:32) #4 PubPackageBuilder._discoverLibraries (package:dartdoc/src/model/package_builder.dart:281:22)
10/10 points: Package has an example
20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ Windows
These platforms are not supported:
Package does not support platform `iOS`.
Because:
package:d2pc_lib/d2pc_lib.dartthat declares support for platforms:Android,Windows.
Package does not support platform `Linux`.
Because:
package:d2pc_lib/d2pc_lib.dartthat declares support for platforms:Android,Windows.
Package does not support platform `macOS`.
Because:
package:d2pc_lib/d2pc_lib.dartthat declares support for platforms:Android,Windows.
Package does not support platform `Web`.
Because:
package:d2pc_lib/d2pc_lib.dartthat declares support for platforms:Android,Windows.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 11 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'Utils/Utils.dart'.
lib/d2pc_lib.dart:12:8
╷
12 │ import 'Utils/Utils.dart';
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/d2pc_lib.dart
ERROR: The method 'Utils' isn't defined for the type 'D2pcLib'.
lib/d2pc_lib.dart:29:17
╷
29 │ final utils = Utils();
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/d2pc_lib.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
path_provider |
^2.1.4 |
2.1.5 | 2.1.5 | |
permission_handler |
^10.0.0 |
10.4.5 | 12.0.1 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
record |
^5.1.1 |
5.2.1 | 6.1.2 | |
web_socket_channel |
^3.0.1 |
3.0.3 | 3.0.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
ffi |
- | 2.1.4 | 2.1.4 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.1 | |
path_provider_linux |
- | 2.2.1 | 2.2.1 | |
path_provider_platform_interface |
- | 2.1.2 | 2.1.2 | |
path_provider_windows |
- | 2.3.0 | 2.3.0 | |
permission_handler_android |
- | 10.3.6 | 13.0.1 | |
permission_handler_apple |
- | 9.1.4 | 9.4.7 | |
permission_handler_platform_interface |
- | 3.12.0 | 4.3.0 | |
permission_handler_windows |
- | 0.1.3 | 0.2.1 | |
platform |
- | 3.1.6 | 3.1.6 | |
record_android |
- | 1.4.5 | 1.4.5 | |
record_darwin |
- | 1.2.2 | 1.2.2 | Discontinued |
record_linux |
- | 0.7.2 | 1.2.1 | |
record_platform_interface |
- | 1.4.0 | 1.4.0 | |
record_web |
- | 1.2.2 | 1.2.2 | |
record_windows |
- | 1.0.7 | 1.0.7 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
xdg_directories |
- | 1.1.0 | 1.1.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^10.0.0` on permission_handler does not support the stable version `11.0.0`.
Try running dart pub upgrade --major-versions permission_handler to update the constraint.
The constraint `^5.1.1` on record does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions record to update the constraint.
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 2 errors:
URI_DOES_NOT_EXIST-lib/d2pc_lib.dart:12:8- Target of URI doesn't exist: 'Utils/Utils.dart'.UNDEFINED_METHOD-lib/d2pc_lib.dart:29:17- The method 'Utils' isn't defined for the type 'D2pcLib'.
Run flutter pub downgrade and then flutter 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.