socket_communication 1.0.0 copy "socket_communication: ^1.0.0" to clipboard
socket_communication: ^1.0.0 copied to clipboard

A command line messaging app using socket programming.

35/ 160
pub points
14
downloads

We analyzed this package 3 days ago, and awarded it 35 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 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:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: socket_communication,
    • contains a version property, and,
    • does not contain a publish_to property.

Failed check 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.

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
0 / 20trigger folding of the section

Failed check 0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

Failed report section
Pass static analysis
0 / 50trigger folding of the section

Failed check 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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 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.

Weekly downloads

Display as:
By versions:
1
likes
35
points
14
downloads

Publisher

unverified uploader

Weekly Downloads

A command line messaging app using socket programming.

Documentation

API reference

License

MIT (license)

More

Packages that depend on socket_communication