pact_dart 0.8.0 copy "pact_dart: ^0.8.0" to clipboard
pact_dart: ^0.8.0 copied to clipboard

Dart DSL for Pact, the de-facto API contract testing tool.

3
likes
115/ 160
pub points
129
downloads

We analyzed this package 3 days ago, and awarded it 115 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: pact_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/matthewshirley/pact_dart but got https://github.com/pact-foundation/pact-dart.

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be well formed Unable to parse 1 image link.

README.md:14:5

   ╷
14 │ <li><a href="(http://slack.pact.io)">Join</a> our community <a href="http://pact-foundation.slack.com/">slack workspace</a>.</li>
   │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
Links in `README.md` should be secure. 1 link is insecure.

README.md:14:61

   ╷
14 │ <li><a href="(http://slack.pact.io)">Join</a> our community <a href="http://pact-foundation.slack.com/">slack workspace</a>.</li>
   │                                                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

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

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

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

11 out of 30 API elements (36.7 %) have documentation comments.

Some symbols that are missing documentation: pact_dart, pact_dart.PactMatchers, pact_dart.PactMatchers.EMAIL_REGEX, pact_dart.PactMatchers.PactMatchers.new, pact_dart.PactMatchers.Term.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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:pact_dart/pact_dart.dart that imports:
  • package:pact_dart/src/pact_mock_service.dart that imports:
  • package:pact_dart/src/bindings/bindings.dart that imports:
  • package:pact_dart/src/bindings/types.dart that imports:
  • dart:ffi

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:pact_dart/pact_dart.dart that imports:
  • package:pact_dart/src/pact_mock_service.dart that imports:
  • package:pact_dart/src/bindings/bindings.dart that imports:
  • package:pact_dart/src/bindings/types.dart that imports:
  • dart:ffi

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.

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 104 issues. Showing the first 2:

INFO: Dangling library doc comment.

bin/install.dart:1:1

  ╷
1 │ /// Install the `libpact` dependency.
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/install.dart

INFO: The variable name 'log_env_var' isn't a lowerCamelCase identifier.

lib/src/bindings/bindings.dart:11:36

   ╷
11 │   late void Function(Pointer<Utf8> log_env_var) pactffi_init;
   │                                    ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/bindings/bindings.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
ffi ^2.0.1 2.1.4 2.1.4
http ^0.13.3 0.13.6 1.4.0
logging ^1.0.1 1.3.0 1.3.0
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
http_parser - 4.1.2 4.1.2
meta - 1.17.0 1.17.0
source_span - 1.10.1 1.10.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

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.13.3` on http does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions http to update the constraint.

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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
115
points
129
downloads

Publisher

unverified uploader

Weekly Downloads

Dart DSL for Pact, the de-facto API contract testing tool.

Documentation

API reference

License

MIT (license)

Dependencies

ffi, http, logging, path

More

Packages that depend on pact_dart