darwin_http 1.1.0-alpha.16
darwin_http: ^1.1.0-alpha.16 copied to clipboard
Http server and rest api functionality for the darwin framework
We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: Apache-2.0
.
0/10 points: 20% or more of the public API has dartdoc comments
16 out of 238 API elements (6.7 %) 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: darwin_http.APIOperationVisitor
, darwin_http.APIOperationVisitor.APIOperationVisitor
, darwin_http.APIOperationVisitor.visitOperation
, darwin_http.Accepts
, darwin_http.Accepts.Accepts
.
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:darwin_http/darwin_http.dart
that imports:package:darwin_http/src/route.dart
that imports:package:darwin_sdk/darwin_sdk.dart
that imports:package:darwin_sdk/src/system.dart
that imports:package:darwin_sdk/src/configuration.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:darwin_http/darwin_http.dart
that imports:package:darwin_http/src/route.dart
that imports:package:darwin_sdk/darwin_sdk.dart
that imports:package:darwin_sdk/src/system.dart
that imports:package:darwin_sdk/src/configuration.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 15 issues. Showing the first 2:
WARNING: Unused import: 'package:conduit_open_api/v3.dart'.
lib/src/swagger.dart:19:8
╷
19 │ import 'package:conduit_open_api/v3.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/swagger.dart
INFO: The import of 'package:darwin_http/src/configuration.dart' is unnecessary because all of the used elements are also provided by the import of 'package:darwin_http/darwin_http.dart'.
lib/src/http_server.dart:24:8
╷
24 │ import 'package:darwin_http/src/configuration.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/http_server.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
conduit_open_api |
^4.1.8 |
4.4.0 | 5.1.3 |
darwin_eventbus |
^1.1.0-alpha.4 |
1.1.0-alpha.4 | 1.1.0-alpha.4 |
darwin_injector |
^1.1.0-alpha.1 |
1.1.0-alpha.1 | 1.1.0-alpha.1 |
darwin_marshal |
^1.1.0-alpha.13 |
1.1.0-alpha.13 | 1.1.0-alpha.13 |
darwin_sdk |
^1.1.0-alpha.12 |
1.1.0-alpha.12 | 1.1.0-alpha.12 |
logging |
^1.1.0 |
1.1.1 | 1.2.0 |
lyell |
^0.0.2 |
0.0.3 | 1.1.0 |
meta |
^1.8.0 |
1.15.0 | 1.15.0 |
shelf |
^1.4.0 |
1.4.2 | 1.4.2 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
ansi_styles |
- | 0.3.2+1 | 0.3.2+1 |
async |
- | 2.11.0 | 2.11.0 |
collection |
- | 1.19.0 | 1.19.0 |
conduit_codable |
- | 4.4.0 | 5.1.3 |
http_parser |
- | 4.1.0 | 4.1.0 |
path |
- | 1.8.3 | 1.9.0 |
source_span |
- | 1.10.0 | 1.10.0 |
stack_trace |
- | 1.11.1 | 1.11.1 |
stream_channel |
- | 2.1.2 | 2.1.2 |
string_scanner |
- | 1.3.0 | 1.3.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.3.2 | 1.3.2 |
yaml |
- | 3.1.2 | 3.1.2 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.1.8` on conduit_open_api does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions conduit_open_api
to update the constraint.
The constraint `^0.0.2` on lyell does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions lyell
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.12
, Dart 3.5.2
.
Check the analysis log for details.