mock_web_server 5.0.0-nullsafety.1 copy "mock_web_server: ^5.0.0-nullsafety.1" to clipboard
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

145/ 160
pub points
59.9k
downloads

We analyzed this package 13 hours ago, and awarded it 145 pub points (of a possible 160):

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

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

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

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

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

Detected license: Apache-2.0.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

Passed check 10/10 points: Package has an example

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

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

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

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 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

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

Weekly downloads

Display as:
By versions:
25
likes
145
points
59.9k
downloads

Publisher

unverified uploader

Weekly Downloads

Versatile scriptable Web Server for real integration tests in Flutter, server, and Dart CLI applications

Homepage

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on mock_web_server