dcli_core 8.0.0
dcli_core: ^8.0.0 copied to clipboard
A collection of functions that allow you to interact with the file system and OS environment from any platform that supports dart:io. Copy, move, delete files and directory trees, search for files, c [...]
We analyzed this package 10 days ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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
191 out of 243 API elements (78.6 %) have documentation comments.
Some symbols that are missing documentation: dcli_core, dcli_core.Cat.Cat.new, dcli_core.DCliException.DCliException.from, dcli_core.DCliException.DCliException.fromException, dcli_core.DCliException.DCliException.fromJson.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:dcli_core/dcli_core.dartthat declares support for platforms:Android,iOS,Windows,Linux,macOS.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:dcli_core/dcli_core.dartthat imports:package:dcli_core/src/util/truepath.dartthat imports:package:dcli_core/src/functions/pwd.dartthat 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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 15 issues. Showing the first 2:
INFO: Angle brackets will be interpreted as HTML.
lib/src/functions/backup.dart:22:36
╷
22 │ /// We also renamed the backup to '<filename>.bak' to ensure
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/functions/backup.dart
INFO: Angle brackets will be interpreted as HTML.
lib/src/functions/backup.dart:53:19
╷
53 │ /// from the .bak/<filename>.bak file created when
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/functions/backup.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
^2.5.0 |
2.13.0 | 2.13.0 | |
circular_buffer |
^0.12.0 |
0.12.0 | 0.12.0 | |
collection |
^1.15.0 |
1.19.1 | 1.19.1 | |
crypto |
^3.0.1 |
3.0.6 | 3.0.6 | |
dcli_common |
^8.0.0 |
8.0.0 | 8.0.0 | |
ffi |
^2.1.0 |
2.1.4 | 2.1.4 | |
logging |
^1.0.2 |
1.3.0 | 1.3.0 | |
meta |
>=1.11.0 <2.0.0 |
1.17.0 | 1.17.0 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 | |
scope |
^5.0.0 |
5.1.0 | 5.1.0 | |
stack_trace |
^1.10.0 |
1.12.1 | 1.12.1 | |
uuid |
^4.1.0 |
4.5.1 | 4.5.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
fixnum |
- | 1.1.1 | 1.1.1 | |
sprintf |
- | 7.0.0 | 7.0.0 | |
typed_data |
- | 1.4.0 | 1.4.0 |
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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 2 errors:
CONST_WITH_NON_CONST-lib/src/functions/env.dart:109:35- The constructor being called isn't a const constructor.CONST_WITH_NON_CONST-lib/src/util/dcli_platform.dart:33:44- The constructor being called isn't a const constructor.
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.24, Dart 3.9.4.
Check the analysis log for details.