w_module 3.0.7 w_module: ^3.0.7 copied to clipboard
Base module classes with a well defined lifecycle for modular Dart applications.
We analyzed this package 20 hours ago, and awarded it 125 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:4:1
╷
4 │ <a href="http://codecov.io/github/Workiva/w_module?branch=master"><img src="http://codecov.io/github/Workiva/w_module/coverage.svg?branch=master" alt="codecov.io" /></a>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
Links in `README.md` should be secure. 1 image link is insecure.
README.md:4:67
╷
4 │ <a href="http://codecov.io/github/Workiva/w_module?branch=master"><img src="http://codecov.io/github/Workiva/w_module/coverage.svg?branch=master" alt="codecov.io" /></a>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE
file to make it more accessible to the community.
10/10 points: 20% or more of the public API has dartdoc comments
102 out of 110 API elements (92.7 %) have documentation comments.
Some symbols that are missing documentation: w_module.DispatchKey.name
, w_module.EventsCollection.manageDisposable
, w_module.LifecycleModule.manageDisposable
, w_module.ModuleUnloadCanceledException.message
, w_module.ShouldUnloadResult.call
.
10/10 points: Package has an example
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.dev/web/wasm for details.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
WARNING: The name required is shown, but isn't used.
lib/src/lifecycle_module.dart:20:64
╷
20 │ import 'package:meta/meta.dart' show mustCallSuper, protected, required;
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/lifecycle_module.dart
WARNING: The operand can't be null, so the condition is always 'false'.
lib/src/lifecycle_module.dart:181:16
╷
181 │ if (tracer == null) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/lifecycle_module.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
logging |
^1.0.0 |
1.3.0 | 1.3.0 |
meta |
^1.6.0 |
1.16.0 | 1.16.0 |
opentracing |
^1.0.1 |
1.0.11 | 1.0.11 |
w_common |
^3.0.0 |
3.2.0 | 3.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
clock |
- | 1.1.2 | 1.1.2 |
intl |
- | 0.18.1 | 0.20.0 |
js |
- | 0.6.7 | 0.7.1 |
path |
- | 1.9.1 | 1.9.1 |
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.15
, Dart 3.5.4
.
Check the analysis log for details.