file_system_model 1.0.1
file_system_model: ^1.0.1 copied to clipboard
file_system_model library is FileSystemEntity operation utility.
We analyzed this package 44 hours 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: BSD-2-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
184 out of 372 API elements (49.5 %) have documentation comments.
Some symbols that are missing documentation: file_system_model
, file_system_model.BinaryContent
, file_system_model.BinaryContent.BinaryContent.new
, file_system_model.BinaryContent.JSON_KEY_CLASS
, file_system_model.BinaryContent.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 not compatible with platform Web
Because:
package:file_system_model/file_system_model.dart
that imports:package:file_system_model/src/file_system_model/file_system_model.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:file_system_model/file_system_model.dart
that imports:package:file_system_model/src/file_system_model/file_system_model.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 63 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/file_system_model/file/file_content/binary/binary_content.dart:43:28
╷
43 │ if (i is! int) return Failure(BpriverJsonExceptionB(), log.monitor({
│ ┌────────────────────────────^
44 │ │ 'invalid values element': i,
45 │ │ 'invalid values element type': i.runtimeType,
46 │ └ }));
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/file_system_model/file/file_content/binary/binary_content.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/file_system_model/file_system_model.dart:220:36
╷
220 │ if (copyPath == pastePath) return Failure(io.FileSystemException(
│ ┌────────────────────────────────────^
221 │ │ 'copyPath と pastePath が同じ.',
222 │ │ pastePath,
223 │ └ ), log);
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/file_system_model/file_system_model.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
bpriver_json |
^0.1.0 |
0.1.0 | 0.1.0 | |
bpriver_origin |
^2.0.0 |
2.2.0 | 2.2.0 | |
bpriver_yaml |
^0.6.0 |
0.6.0 | 0.6.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
yaml |
^3.1.2 |
3.1.3 | 3.1.3 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
collection |
- | 1.19.1 | 1.19.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 | |
yaml_writer |
- | 2.1.0 | 2.1.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.21
, Dart 3.8.1
.
Check the analysis log for details.