critical_test 8.1.1 copy "critical_test: ^8.1.1" to clipboard
critical_test: ^8.1.1 copied to clipboard

Critical Test is a cli tool designed to simplify the process of fixing broken unit tests in Dart.

1
likes
130/ 160
pub points
0%
popularity

We analyzed this package 23 hours ago, and awarded it 130 pub points (of a possible 160):

partial
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://www.noojee.dev was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://criticaltest.noojee.dev 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: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

5 out of 45 API elements (11.1 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: critical_test, critical_test.Counts, critical_test.Counts.Counts, critical_test.Counts.Counts.copyFrom, critical_test.Counts.Counts.withValues.

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)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that declares support for platforms: Windows, Linux, macOS.

These issues are present but do not affect the score, because they may not originate in your package:

Package does not support platform `Linux`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/string_as_process.dart that imports:
  • package:dcli/src/util/runnable_process.dart that imports:
  • package:dcli/src/process/process/process_in_isolate.dart that imports:
  • package:dcli/src/process/process/in_isolate/process_runner.dart that imports:
  • package:dcli_terminal/dcli_terminal.dart that imports:
  • package:dcli_terminal/src/terminal.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/string_as_process.dart that imports:
  • package:dcli/src/util/runnable_process.dart that imports:
  • package:dcli/src/process/process/process_in_isolate.dart that imports:
  • package:dcli/src/process/process/in_isolate/process_runner.dart that imports:
  • package:dcli_terminal/dcli_terminal.dart that imports:
  • package:dcli_terminal/src/terminal.dart that imports:
  • package:dart_console/dart_console.dart that imports:
  • package:dart_console/src/console.dart that imports:
  • package:dart_console/src/ffi/win/termlib_win.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:critical_test/critical_test.dart that imports:
  • package:critical_test/src/util/counts.dart that imports:
  • package:dcli/dcli.dart that imports:
  • package:dcli/src/util/string_as_process.dart that imports:
  • package:dcli/src/util/runnable_process.dart that imports:
  • package:dcli/src/util/parse_cli_command.dart that imports:
  • package:glob/glob.dart that imports:
  • package:glob/src/list_tree.dart that imports:
  • package:file/file.dart that imports:
  • package:file/src/interface.dart that imports:
  • package:file/src/io.dart that imports:
  • dart:io

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.

OK
Pass static analysis
50 / 50trigger folding of the section

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

OK
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
_fe_analyzer_shared ^73.0.0 73.0.0 76.0.0
analyzer ^6.5.0 6.8.0 6.11.0
archive ^3.3.7 3.6.1 3.6.1
args ^2.4.1 2.6.0 2.6.0
async ^2.11.0 2.12.0 2.12.0
basic_utils ^5.7.0 5.7.0 5.7.0
boolean_selector 2.1.1 2.1.1 2.1.2
build ^2.4.0 2.4.1 2.4.1
build_config 1.1.1 1.1.1 1.1.1
build_daemon ^4.0.0 4.0.2 4.0.2
build_resolvers ^2.2.0 2.4.2 2.4.2
build_runner_core ^7.2.8 7.3.2 7.3.2
built_collection 5.1.1 5.1.1 5.1.1
built_value ^8.5.0 8.9.2 8.9.2
charcode 1.3.1 1.3.1 1.4.0
checked_yaml ^2.0.3 2.0.3 2.0.3
circular_buffer 0.12.0 0.12.0 0.12.0
cli_script ^1.0.0 1.0.0 1.0.0
code_builder ^4.4.0 4.10.1 4.10.1
collection ^1.17.2 1.19.1 1.19.1
convert ^3.1.2 3.1.2 3.1.2
coverage ^1.6.3 1.11.0 1.11.0
crypto ^3.0.3 3.0.6 3.0.6
csv ^6.0.0 6.0.0 6.0.0
dart_style ^2.2.5 2.3.7 2.3.7
dcli ^6.1.0 6.1.0 6.1.0
dcli_core ^6.1.0 6.1.0 6.1.0
equatable 2.0.5 2.0.5 2.0.5
ffi ^2.0.1 2.1.3 2.1.3
file ^7.0.0 7.0.1 7.0.1
fixnum ^1.1.0 1.1.1 1.1.1
frontend_server_client ^4.0.0 4.0.0 4.0.0
glob ^2.1.2 2.1.2 2.1.2
graphs ^2.3.0 2.3.2 2.3.2
http ^1.2.1 1.2.2 1.2.2
http_multi_server 3.2.1 3.2.1 3.2.1
http_parser ^4.1.0 4.1.1 4.1.1
ini 2.1.0 2.1.0 2.1.0
io ^1.0.4 1.0.4 1.0.4
js ^0.7.1 0.7.1 0.7.1
json_annotation ^4.8.1 4.9.0 4.9.0
logging ^1.1.1 1.3.0 1.3.0
matcher ^0.12.14 0.12.17 0.12.17
meta ^1.9.1 1.16.0 1.16.0
mime ^2.0.0 2.0.0 2.0.0
node_preamble ^2.0.2 2.0.2 2.0.2
package_config 2.1.0 2.1.0 2.1.0
path ^1.8.3 1.9.1 1.9.1
pedantic 1.11.1 1.11.1 1.11.1
pointycastle ^3.7.3 3.9.1 3.9.1
pool 1.5.1 1.5.1 1.5.1
posix ^6.0.1 6.0.1 6.0.1
pub_semver ^2.1.4 2.1.4 2.1.4
pubspec 2.3.0 2.3.0 2.3.0
pubspec_parse ^1.2.3 1.3.0 1.3.0
quiver ^3.2.1 3.2.2 3.2.2
random_string 2.3.1 2.3.1 2.3.1
scope ^5.1.0 5.1.0 5.1.0
settings_yaml ^8.1.0 8.2.0 8.2.0
shelf ^1.4.1 1.4.2 1.4.2
shelf_packages_handler ^3.0.2 3.0.2 3.0.2
shelf_static ^1.1.2 1.1.3 1.1.3
shelf_web_socket ^2.0.0 2.0.0 2.0.0
source_map_stack_trace ^2.1.2 2.1.2 2.1.2
source_maps ^0.10.12 0.10.12 0.10.12
source_span ^1.10.0 1.10.0 1.10.0
stack_trace ^1.11.1 1.12.0 1.12.0
stacktrace_impl 2.3.0 2.3.0 2.3.0
stream_channel ^2.1.2 2.1.2 2.1.2
stream_transform 2.1.0 2.1.0 2.1.0
string_scanner ^1.4.0 1.4.0 1.4.0
term_glyph 1.2.1 1.2.1 1.2.1
timing ^1.0.1 1.0.1 1.0.1
tuple ^2.0.2 2.0.2 2.0.2
typed_data ^1.3.2 1.4.0 1.4.0
uri 1.0.0 1.0.0 1.0.0
uuid ^4.4.0 4.5.1 4.5.1
validators2 ^5.0.0 5.0.0 5.0.0
vm_service ^14.2.4 14.3.1 14.3.1
watcher ^1.1.0 1.1.0 1.1.0
web_socket_channel ^3.0.0 3.0.1 3.0.1
webkit_inspection_protocol ^1.2.1 1.2.1 1.2.1
win32 5.7.0 5.7.0 5.8.0
yaml ^3.1.2 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
_macros - 0.3.2 0.3.2
characters - 1.3.1 1.3.1
chunked_stream - 1.4.2 1.4.2
clock - 1.1.2 1.1.2
dart_console - 4.1.1 4.1.1
dcli_common - 6.1.0 6.1.0
dcli_terminal - 6.1.0 6.1.0
functional_data - 1.2.0 1.2.0
globbing - 1.0.0 1.0.0
intl - 0.19.0 0.20.0
json2yaml - 3.0.1 3.0.1
lists - 1.0.1 1.0.1
macros - 0.1.2-main.4 0.1.3-main.0
native_synchronization_temp - 0.7.1 0.7.1
pubspec_lock - 3.0.2 3.0.2
pubspec_manager - 1.0.0 1.0.0
sprintf - 7.0.0 7.0.0
strings - 3.1.2 3.1.2
sum_types - 0.3.5 0.4.0
system_info2 - 4.0.0 4.0.0
test_api - 0.7.3 0.7.3
unicode - 0.3.1 0.3.1
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6

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

Found 4 issues. Showing the first 2:

The constraint `^73.0.0` on _fe_analyzer_shared does not support the stable version `74.0.0`.

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

The constraint `2.1.1` on boolean_selector does not support the stable version `2.1.2`, that was published 29 days ago.

When boolean_selector is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions boolean_selector 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.15, Dart 3.5.4.

Check the analysis log for details.