w_module 3.0.7 copy "w_module: ^3.0.7" to clipboard
w_module: ^3.0.7 copied to clipboard

Base module classes with a well defined lifecycle for modular Dart applications.

3
likes
105/ 140
pub points
89%
popularity

We analyzed this package 25 hours ago, and awarded it 105 pub points (of a possible 140):

failed
Follow Dart file conventions
15 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android
  • ✓ iOS
  • ✓ Windows
  • ✓ Linux
  • ✓ macOS
  • ✓ Web
failed
Pass static analysis
30 / 50trigger folding of the section

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

OK
Support up-to-date dependencies
20 / 20trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
logging ^1.0.0 1.2.0 1.2.0
meta ^1.6.0 1.14.0 1.14.0
opentracing ^1.0.1 1.0.11 1.0.11
w_common ^3.0.0 3.0.1 3.0.1
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.1 1.1.1
intl - 0.18.1 0.19.0
js - 0.6.7 0.7.1
path - 1.9.0 1.9.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

Analyzed with Pana 0.22.2, Dart 3.3.3.

Check the analysis log for details.

3
likes
105
pub points
89%
popularity

Publisher

verified publisherworkiva.com

Base module classes with a well defined lifecycle for modular Dart applications.

Repository (GitHub)
View/report issues
Contributing

Documentation

API reference

License

unknown (LICENSE)

Dependencies

logging, meta, opentracing, w_common

More

Packages that depend on w_module