dcli_core 7.0.3 copy "dcli_core: ^7.0.3" to clipboard
dcli_core: ^7.0.3 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 [...]

1
likes
110/ 160
pub points
1.16M
downloads

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

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

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

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.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dcli_core/dcli_core.dart that imports:
  • package:dcli_core/src/util/truepath.dart that imports:
  • package:dcli_core/src/functions/pwd.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.

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 12 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/src/functions/backup.dart:21:36

   ╷
21 │ /// 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:52:19

   ╷
52 │ /// 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

Failed report section
Support up-to-date dependencies
20 / 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
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 ^7.0.2 7.0.2 7.0.2
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.

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:

  • CONST_WITH_NON_CONST - lib/src/functions/env.dart:108:35 - The constructor being called isn't a const constructor.
  • CONST_WITH_NON_CONST - lib/src/util/dcli_platform.dart:32: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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
110
points
1.16M
downloads

Publisher

verified publisheronepub.dev

Weekly Downloads

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, create temp files and directories.

Homepage
Repository (GitHub)
View/report issues
Contributing

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

async, circular_buffer, collection, crypto, dcli_common, ffi, logging, meta, path, scope, stack_trace, uuid

More

Packages that depend on dcli_core