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

25
likes
120/ 140
pub points
86%
popularity

We analyzed this package 31 hours ago, and awarded it 120 pub points (of a possible 140):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/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

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

17 out of 33 API elements (51.5 %) have documentation comments.

Some symbols that are missing documentation: mock_web_server, mock_web_server.Certificate.chain, mock_web_server.Certificate.Certificate.included, mock_web_server.Certificate.key, mock_web_server.Certificate.Certificate.make.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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
partial
Pass static analysis
40 / 50trigger folding of the section

40/50 points: code has no errors, warnings, lints, or formatting issues

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.

25
likes
120
pub points
86%
popularity

Publisher

unverified uploader

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