gen_server 0.0.5
gen_server: ^0.0.5 copied to clipboard
Server/Client Socket for general purpose
We analyzed this package 6 days ago, and awarded it 100 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 50 to 180 characters to describe the package, what it does, and its target use case.
-
pubspec.yaml
doesn't have ahomepage
entry. -
pubspec.yaml
doesn't have arepository
entry.
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: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting gen_server... Discovering libraries... Linking elements... Precaching local docs for 129950 elements... Initialized dartdoc with 192 libraries Generating docs for library crypter.dart from package:gen_server/crypter.dart... Generating docs for library gen_client.dart from package:gen_server/gen_client.dart... Generating docs for library data_utils.dart from package:gen_server/data_utils.dart... Generating docs for library gen_socket.dart from package:gen_server/gen_socket.dart... Generating docs for library codec.dart from package:gen_server/codec.dart... [3 more lines] ERR: warning: gen_server has no library level documentation comments from gen_server: (file:///tmp/pana_PKMBNM/lib/crypter.dart:1:1) warning: gen_client has no library level documentation comments from gen_client: (file:///tmp/pana_PKMBNM/lib/gen_client.dart:1:1) warning: gen_server has no library level documentation comments from gen_server: (file:///tmp/pana_PKMBNM/lib/data_utils.dart:1:1) error: file already written at "gen_server/index.html" for symbol gen_server: (file:///tmp/pana_PKMBNM/lib/data_utils.dart:1:1) conflicting with file already generated by gen_server: (file:///tmp/pana_PKMBNM/lib/crypter.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. [64 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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:gen_server/gen_server.dart
that imports:package:gen_server/gen_socket.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:gen_server/gen_server.dart
that imports:package:gen_server/gen_socket.dart
that imports:dart:io
This package is not compatible with runtime wasm
, and will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 57 issues. Showing the first 2:
WARNING: The value of the local variable 'sharedSecret' isn't used.
lib/crypter.dart:128:9
╷
128 │ final sharedSecret = r2.secretKey;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/crypter.dart
WARNING: Unused import: 'dart:io'.
lib/gen_client.dart:3:8
╷
3 │ import 'dart:io';
│ ^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/gen_client.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cryptography |
^2.0.5 |
2.7.0 | 2.7.0 | |
uuid |
^3.0.6 |
3.0.7 | 4.5.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.6 | 3.0.6 | |
ffi |
- | 2.1.4 | 2.1.4 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.1.4 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^3.0.6` on uuid does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions uuid
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.21
, Flutter 3.32.4
, Dart 3.8.1
.
Check the analysis log for details.