dcli_unit_tester 4.0.5 copy "dcli_unit_tester: ^4.0.5" to clipboard
dcli_unit_tester: ^4.0.5 copied to clipboard

This project allows dcli to unit test functions that behave differently when installed via 'dart pub global activate'. It serves no other useful purpose so do not install!

0
likes
60/ 160
pub points
202
downloads

We analyzed this package 15 hours ago, and awarded it 60 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

Repository URL doesn't exist.

At the time of the analysis https://github.com/onepub/dcli was unreachable. Make sure that the website is reachable via HEAD requests.

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

Unable to access git repository: Failed to run remote show origin.

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

0 out of 0 API elements (100.0 %) have documentation comments.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Linux

  • ✓ macOS

  • ✓ Windows

These platforms are not supported:

Android

Cannot assign Android automatically to a binary only package.

iOS

Cannot assign iOS automatically to a binary only package.

Web

Cannot assign Web automatically to a binary only package.

0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
0 / 50trigger folding of the section

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

ERROR: The function 'withTempDirAsync' isn't defined.

bin/publish.dart:8:9

  ╷
8 │   await withTempDirAsync((tmp) async {
  │         ^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
args ^2.3.0 2.6.0 2.6.0
dcli ^4.0.3 4.0.5 6.1.0
dcli_core ^4.0.3 4.0.7 6.1.0
dcli_terminal ^4.0.3 4.0.3 6.1.0
path ^1.8.0 1.9.1 1.9.1
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
async - 2.12.0 2.12.0
characters - 1.4.0 1.4.0
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csv - 6.0.0 6.0.0
dart_console - 4.1.1 4.1.1
dcli_common - 4.0.3 6.1.0
equatable - 2.0.7 2.0.7
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
functional_data - 1.2.0 1.2.0
glob - 2.1.2 2.1.2
globbing - 1.0.0 1.0.0
ini - 2.1.0 2.1.0
intl - 0.19.0 0.20.1
json2yaml - 3.0.1 3.0.1
lists - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
mime - 1.0.6 2.0.0
native_synchronization - 0.2.0 0.3.1
posix - 6.0.1 6.0.1
pub_semver - 2.1.5 2.1.5
pubspec_lock - 3.0.2 3.0.2
pubspec_manager - 1.0.1 1.0.1
runtime_named_locks - 1.0.0-beta.6 1.0.0-beta.6
runtime_native_semaphores - 1.0.0-beta.6 1.0.0-beta.6
scope - 4.1.1 5.1.0
settings_yaml - 8.2.0 8.2.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
strings - 3.1.2 3.1.2
sum_types - 0.3.5 0.4.0
system_info2 - 4.0.0 4.0.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 1.1.6
uuid - 4.5.1 4.5.1
validators2 - 5.0.0 5.0.0
win32 - 5.10.0 5.10.0
yaml - 3.1.3 3.1.3

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

Found 3 issues. Showing the first 2:

The constraint `^4.0.3` on dcli does not support the stable version `5.0.0`.

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

The constraint `^4.0.3` on dcli_core does not support the stable version `5.0.0`.

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

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_FUNCTION - bin/publish.dart:8:9 - The function 'withTempDirAsync' isn't defined.

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.22.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
60
points
202
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

This project allows dcli to unit test functions that behave differently when installed via 'dart pub global activate'. It serves no other useful purpose so do not install!

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

args, dcli, dcli_core, dcli_terminal, path

More

Packages that depend on dcli_unit_tester