unused_import_remover 1.0.1 copy "unused_import_remover: ^1.0.1" to clipboard
unused_import_remover: ^1.0.1 copied to clipboard

A tool to remove unused import packages automatically.

140/ 160
pub points
288
downloads

We analyzed this package 4 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: MIT.

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

0 out of 0 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 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.

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

Found 6 issues. Showing the first 2:

INFO: Use the end-of-line form ('///') for doc comments.

bin/lib/message_handler.dart:35:3

   ╷
35 │ ┌   /**
36 │ │    * What does the one line command execute ?
37 │ │       pattern: This is an instance of the Glob class from the glob package. 
38 │ │               It represents a pattern for matching file paths.
39 │ │ 
40 │ │       listSync(): This method is called on the Glob instance (pattern) and returns a list of file system entities (files and directories) that match the specified pattern. 
41 │ │                   It's a synchronous method, meaning it blocks until it completes.
42 │ │ 
43 │ │       whereType<File>(): This is a filtering step. It filters the list of file system entities to only include those that are of type File. 
   │ └────────────────────────────────────────────────────────────────^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

bin/lib/message_handler.dart:43:16

   ╷
43 │       whereType<File>(): This is a filtering step. It filters the list of file system entities to only include those that are of type File. 
   │                ^^^^^^
   ╵

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

Passed report section
Support up-to-date dependencies
40 / 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
glob ^2.1.2 2.1.3 2.1.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
file - 7.0.1 7.0.1
meta - 1.17.0 1.17.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.0, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
140
points
288
downloads

Publisher

unverified uploader

Weekly Downloads

A tool to remove unused import packages automatically.

Repository (GitHub)

Topics

#remove #refactoring

Documentation

API reference

License

MIT (license)

Dependencies

glob

More

Packages that depend on unused_import_remover