socket_communication 1.0.0
socket_communication: ^1.0.0 copied to clipboard
A command line messaging app using socket programming.
We analyzed this package 3 days ago, and awarded it 35 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: socket_communication.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: socket_communication, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
0/5 points: Provide a valid README.md
`README.md` is empty.
The README.md file should inform others about your project, what it does, and how they can use it. Check out the guidelines on Writing great package pages.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: MIT.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 17 API elements (0.0 %) 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: socket_communication, socket_communication.ClientSocket, socket_communication.ClientSocket.ClientSocket.new, socket_communication.ClientSocket.connect, socket_communication.ServerSocket.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
ERROR: Undefined name 'ClientSocket'.
bin/apps/client.dart:8:26
╷
8 │ final client = await ClientSocket.connect(host: "0.0.0.0", port: 3000);
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/apps/client.dart
ERROR: Undefined class 'Socket'.
bin/apps/client.dart:15:29
╷
15 │ void handleServerConnection(Socket client) {
│ ^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze bin/apps/client.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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 12 errors:
UNDEFINED_IDENTIFIER-bin/apps/client.dart:8:26- Undefined name 'ClientSocket'.UNDEFINED_CLASS-bin/apps/client.dart:15:29- Undefined class 'Socket'.UNDEFINED_CLASS-bin/apps/client.dart:33:20- Undefined class 'Socket'.
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.23.10, Dart 3.11.1.
Check the analysis log for details.