mock_web_server 5.0.0-nullsafety.1
mock_web_server: ^5.0.0-nullsafety.1 copied to clipboard
Versatile scriptable Web Server for real integration tests in Flutter, server, and Dart CLI applications
We analyzed this package 13 hours ago, and awarded it 145 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://git.starcarr.co/Dart/MockWebServer
was unreachable. Make sure that the website is reachable via HEAD
requests.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("5.0.0-nullsafety.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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
17 out of 36 API elements (47.2 %) have documentation comments.
Some symbols that are missing documentation: mock_web_server
, mock_web_server.Certificate.Certificate.included
, mock_web_server.Certificate.Certificate.make
, mock_web_server.Certificate.Certificate.new
, mock_web_server.Certificate.chain
.
10/10 points: Package has 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:mock_web_server/mock_web_server.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mock_web_server/mock_web_server.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.cn/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 10 issues. Showing the first 2:
INFO: Use the generic function type syntax in 'typedef's.
lib/mock_web_server.dart:45:30
╷
45 │ typedef Future<MockResponse> Dispatcher(HttpRequest request);
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/mock_web_server.dart
INFO: Missing type annotation.
lib/mock_web_server.dart:75:38
╷
75 │ factory Certificate.make({required serverChain, required serverKey}) {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/mock_web_server.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.24
, Dart 3.9.4
.
Check the analysis log for details.