wire 1.5.4 wire: ^1.5.4 copied to clipboard
Communication and data container layers library aimed to decouple UI from business logic
We analyzed this package 5 days ago, and awarded it 100 pub points (of a possible 140):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting wire... Discovering libraries... Linking elements... Precaching local docs for 137406 elements... Initialized dartdoc with 53 libraries Generating docs for library mixin/mixin_with_database.dart from package:wire/mixin/mixin_with_database.dart... Generating docs for library mixin/mixin_with_when_ready.dart from package:wire/mixin/mixin_with_when_ready.dart... Generating docs for library mixin/mixin_with_wire_data.dart from package:wire/mixin/mixin_with_wire_data.dart... Generating docs for library abstract/abstract_wire_database_service.dart from package:wire/abstract/abstract_wire_database_service.dart... Generating docs for library abstract/abstract_wire_command.dart from package:wire/abstract/abstract_wire_command.dart... [4 more lines] ERR: warning: wire has no library level documentation comments from wire: (file:///tmp/pana_XTSQUQ/lib/mixin/mixin_with_database.dart:1:9) warning: wire has no library level documentation comments from wire: (file:///tmp/pana_XTSQUQ/lib/mixin/mixin_with_when_ready.dart:1:9) error: file already written at "wire/wire-library.html" for symbol wire: (file:///tmp/pana_XTSQUQ/lib/mixin/mixin_with_when_ready.dart:1:9) conflicting with file already generated by wire: (file:///tmp/pana_XTSQUQ/lib/mixin/mixin_with_database.dart:1:9) Dartdoc generates a path and filename to write to for each symbol. 'wire' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or [45 more lines]
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
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
WARNING: Braces unnecessarily wrap this expression in a set literal.
lib/src/layers.dart:107:36
╷
107 │ _wireById.forEach((_, wire) => {if (wire.scope == scope) result.add(wire)});
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/layers.dart
INFO: Empty catch block.
lib/mixin/mixin_with_database.dart:16:17
╷
16 │ } catch (e) {}
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/mixin/mixin_with_database.dart
10/10 points: All of the package dependencies are supported in the latest version
No dependencies.
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.3
, Dart 3.3.3
.
Check the analysis log for details.