wire 1.5.4 copy "wire: ^1.5.4" to clipboard
wire: ^1.5.4 copied to clipboard

Communication and data container layers library aimed to decouple UI from business logic

3
likes
120/ 160
pub points
131
downloads

We analyzed this package 3 days ago, and awarded it 120 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

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

Failed report section
Provide documentation
10 / 20trigger folding of the section

Failed check 0/10 points: 20% or more of the public API has dartdoc comments

OUT: Documenting wire... Discovering libraries... Linking elements... Precaching local docs for 137159 elements... Initialized dartdoc with 57 libraries Generating docs for library utils/wire_command_with_required_data.dart from package:wire/utils/wire_command_with_required_data.dart... Generating docs for library utils/wire_command_with_wire_data.dart from package:wire/utils/wire_command_with_wire_data.dart... Generating docs for library mixin/mixin_with_wire_data.dart from package:wire/mixin/mixin_with_wire_data.dart... 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... [4 more lines] ERR: warning: wire has no library level documentation comments from wire: (file:///tmp/pana_IOSRPL/lib/utils/wire_command_with_required_data.dart:1:1) warning: wire has no library level documentation comments from wire: (file:///tmp/pana_IOSRPL/lib/utils/wire_command_with_wire_data.dart:1:1) error: file already written at "wire/index.html" for symbol wire: (file:///tmp/pana_IOSRPL/lib/utils/wire_command_with_wire_data.dart:1:1) conflicting with file already generated by wire: (file:///tmp/pana_IOSRPL/lib/utils/wire_command_with_required_data.dart:1:1) 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 [60 more lines]

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

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

Weekly downloads

Display as:
By versions:
3
likes
120
points
131
downloads

Publisher

unverified uploader

Weekly Downloads

Communication and data container layers library aimed to decouple UI from business logic

Repository (GitHub)

Documentation

API reference

License

unknown (license)

More

Packages that depend on wire