pluggable_dart_server 1.0.0+1
pluggable_dart_server: ^1.0.0+1 copied to clipboard
A Pluggable Dart Server.
We analyzed this package 5 days ago, and awarded it 30 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.yamldoesn't have ahomepageentry. -
pubspec.yamldoesn't have arepositoryentry.
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.
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("1.0.0+1").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: GPL-3.0.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 128 API elements (1.6 %) 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: pluggable_dart_server, pluggable_dart_server.CustomValidator, pluggable_dart_server.DartServerPlug, pluggable_dart_server.DartServerPlug.DartServerPlug.new, pluggable_dart_server.DartServerPlug.handle.
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)
These platforms are not supported:
Tag detection failed.
Exception: Could not find package dir of pluggable
Tag detection failed.
Exception: Could not find package dir of pluggable
Tag detection failed.
Exception: Could not find package dir of pluggable
Tag detection failed.
Exception: Could not find package dir of pluggable
Tag detection failed.
Exception: Could not find package dir of pluggable
Tag detection failed.
Exception: Could not find package dir of pluggable
Tag detection failed.
Unable to parse uri: "package:pluggable/pluggable.dart": Exception: Could not resolve import: package:pluggable/pluggable.dart.
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.cn/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 75 issues. Showing the first 2:
ERROR: Target of URI doesn't exist: 'package:pluggable/pluggable.dart'.
lib/pluggable_dart_server.dart:6:8
╷
6 │ export 'package:pluggable/pluggable.dart' hide initPluggable;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/pluggable_dart_server.dart
ERROR: Undefined class 'PHttpRequest'.
lib/src/handler/p_request_handler.dart:7:9
╷
7 │ final PHttpRequest request;
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/handler/p_request_handler.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
bloc |
^9.0.0 |
9.1.0 | 9.1.0 | |
http_methods |
^1.1.0 |
1.1.1 | 1.1.1 | |
http_parser |
^4.0.2 |
4.1.2 | 4.1.2 | |
meta |
^1.9.0 |
1.17.0 | 1.17.0 | |
mime |
>=1.0.4 <3.0.0 |
2.0.0 | 2.0.0 | |
shelf |
^1.4.0 |
1.4.2 | 1.4.2 | |
shelf_hotreload |
^1.3.0 |
1.6.0 | 1.6.0 | |
shelf_router |
^1.1.4 |
1.1.4 | 1.1.4 | |
shelf_static |
^1.1.1 |
1.1.3 | 1.1.3 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
hotreloader |
- | 4.3.0 | 4.3.0 | |
logging |
- | 1.3.0 | 1.3.0 | |
path |
- | 1.9.1 | 1.9.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
stream_transform |
- | 2.1.1 | 2.1.1 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vm_service |
- | 15.0.2 | 15.0.2 | |
watcher |
- | 1.1.4 | 1.1.4 |
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 62 errors:
URI_DOES_NOT_EXIST-lib/pluggable_dart_server.dart:6:8- Target of URI doesn't exist: 'package:pluggable/pluggable.dart'.UNDEFINED_CLASS-lib/src/handler/p_request_handler.dart:7:9- Undefined class 'PHttpRequest'.NON_TYPE_AS_TYPE_ARGUMENT-lib/src/handler/p_request_handler.dart:8:14- The name 'PHttpException' isn't a type, so it can't be used as a type argument.
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.1, Dart 3.10.0.
Check the analysis log for details.