unused_assets_cli 0.0.1 copy "unused_assets_cli: ^0.0.1" to clipboard
unused_assets_cli: ^0.0.1 copied to clipboard

A dart CLI to report and/or delete unused assets in a Flutter project.

110/ 160
pub points
2
downloads

We analyzed this package 2 days ago, and awarded it 110 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: Apache-2.0.

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

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

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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

Passed check 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.cn/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

INFO: The import of 'package:unused_assets_cli/src/commands/generate_report_command.dart' is unnecessary because all of the used elements are also provided by the import of 'package:unused_assets_cli/src/commands/commands.dart'.

lib/src/command_runner.dart:7:8

  ╷
7 │ import 'package:unused_assets_cli/src/commands/generate_report_command.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

Failed report section
Support up-to-date dependencies
10 / 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
args ^2.4.2 2.7.0 2.7.0
cli_completion ^0.5.0 0.5.0 0.5.1
mason_logger ^0.2.12 0.2.16 0.3.3
pub_updater ^0.4.0 0.4.0 0.5.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
equatable - 2.0.8 2.0.8
ffi - 2.1.5 2.1.5
file - 7.0.1 7.0.1
http - 1.6.0 1.6.0
http_parser - 4.1.2 4.1.2
io - 1.0.5 1.0.5
json_annotation - 4.9.0 4.9.0
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
platform - 3.1.6 3.1.6
process - 5.0.5 5.0.5
pub_semver - 2.2.0 2.2.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
web - 1.1.1 1.1.1
win32 - 5.15.0 5.15.0

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

The constraint `^0.2.12` on mason_logger does not support the stable version `0.3.0`.

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

The constraint `^0.4.0` on pub_updater does not support the stable version `0.5.0`.

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

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

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

downgrade analysis failed failed with 2 errors:

  • UNDEFINED_METHOD - lib/src/commands/generate_report_command.dart:52:33 - The method 'option' isn't defined for the type 'ArgResults'.
  • UNDEFINED_METHOD - lib/src/commands/generate_report_command.dart:55:30 - The method 'option' isn't defined for the type 'ArgResults'.

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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

A dart CLI to report and/or delete unused assets in a Flutter project.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

args, cli_completion, mason_logger, pub_updater

More

Packages that depend on unused_assets_cli