unused_import_remover 1.0.1
unused_import_remover: ^1.0.1 copied to clipboard
A tool to remove unused import packages automatically.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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.
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.
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
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.
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
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.
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.23.0, Dart 3.9.4.
Check the analysis log for details.