checks 0.3.1 copy "checks: ^0.3.1" to clipboard
checks: ^0.3.1 copied to clipboard

A framework for checking values against expectations and building custom expectations.

140/ 160
pub points
67.3k
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

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

Detected license: BSD-3-Clause.

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

67 out of 104 API elements (64.4 %) have documentation comments.

Some symbols that are missing documentation: checks, checks.BoolChecks, checks.BoolChecks.isFalse, checks.BoolChecks.isTrue, checks.ComparableChecks.

Passed check 10/10 points: Package has an example

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

Passed check 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

WASM-ready: This package is compatible with runtime wasm. See https://dart.dev/web/wasm for details.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest Notes
async ^2.8.0 2.13.1 2.13.1
meta ^1.9.0 1.18.2 1.18.2
test_api >=0.5.0 <0.8.0 0.7.12 0.7.12
Transitive dependencies
Package Constraint Compatible Latest Notes
boolean_selector - 2.1.2 2.1.2
collection - 1.19.1 1.19.1
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

dart pub downgrade failed with:

OUT:
Resolving dependencies...
Downloading packages...
< async 2.8.0 (was 2.13.1)
< boolean_selector 2.1.0 (was 2.1.2)
+ charcode 1.2.0
< collection 1.15.0 (was 1.19.1)
< meta 1.9.0 (was 1.18.2)
< path 1.8.0 (was 1.9.1)
< source_span 1.8.0 (was 1.10.2)
< stack_trace 1.10.0 (was 1.12.1)
[7 more lines]
ERR:
Exceeded timeout of 0:02:00.000000

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.12, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
119
likes
140
points
67.3k
downloads

Documentation

API reference

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

A framework for checking values against expectations and building custom expectations.

Repository (GitHub)
View/report issues
Contributing

License

BSD-3-Clause (license)

Dependencies

async, meta, test_api

More

Packages that depend on checks