stub 1.0.0+6 copy "stub: ^1.0.0+6" to clipboard
stub: ^1.0.0+6 copied to clipboard

a pure `dart` lightweight package to help you stub methods for your tests

3
likes
140/ 160
pub points
7%
popularity

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

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

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: stub,
    • contains a version property, and,
    • does not contain a publish_to property.

packages/stub/pubspec.yaml from the repository URL mismatch: expected https://github.com/iapicca/yak_packages but got https://github.com/yakforward-ou/yak_packages.

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: MIT.

OK
Provide documentation
20 / 20trigger folding of the section

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

9 out of 16 API elements (56.3 %) have documentation comments.

Some symbols that are missing documentation: stub, stub.NullaryStub.call, stub.Stub.nullary, stub.Stub.unary, stub.UnaryStub.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
OK
Pass static analysis
50 / 50trigger folding of the section

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

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

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

Package Constraint Compatible Latest
meta ^1.8.0 1.15.0 1.15.0
yak_utils ^1.0.1 1.0.1+7 2.1.1

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

The constraint `^1.0.1` on yak_utils does not support the stable version `2.0.0`.

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

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.6, Dart 3.4.3.

Check the analysis log for details.

3
likes
140
pub points
7%
popularity

Publisher

verified publisheryakforward.com

a pure `dart` lightweight package to help you stub methods for your tests

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

meta, yak_utils

More

Packages that depend on stub