magx_client 4.0.2 copy "magx_client: ^4.0.2" to clipboard
magx_client: ^4.0.2 copied to clipboard

Dart Client for MagX multiplayer game server.

100/ 160
pub points
126
downloads

We analyzed this package 2 hours ago, and awarded it 100 pub points (of a possible 160):

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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

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

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

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

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

OUT: Documenting magx_client... Discovering libraries... Linking elements... Precaching local docs for 183018 elements... Initialized dartdoc with 487 libraries Generating docs for library magx_client.dart from package:magx_client/magx_client.dart... Generating docs for library magx_converters.dart from package:magx_client/magx_converters.dart... Documented 2 public libraries in 33.7 seconds ERR: warning: magx_client has no library level documentation comments from magx_client: (file:///tmp/pana_DOLUEO/lib/magx_converters.dart:1:1) error: file already written at "magx_client/index.html" for symbol magx_client: (file:///tmp/pana_DOLUEO/lib/magx_converters.dart:1:1) conflicting with file already generated by magx_client: (file:///tmp/pana_DOLUEO/lib/magx_client.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'magx_client' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one symbol's [14 more lines]

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:magx_client/magx_client.dart that imports:
  • package:magx_client/src/room/room.dart that imports:
  • package:magx_client/src/client.dart that imports:
  • package:magx_client/src/connection/ws_connection.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:magx_client/magx_client.dart that imports:
  • package:magx_client/src/room/room.dart that imports:
  • package:magx_client/src/client.dart that imports:
  • package:magx_client/src/connection/ws_connection.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.cn/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 29 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/connection/connection.freezed.dart:132:17

    ╷
132 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/connection/connection.freezed.dart

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/room/room_data.freezed.dart:161:17

    ╷
161 │   bool operator ==(dynamic other) {
    │                 ^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/room/room_data.freezed.dart

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

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

Package Constraint Compatible Latest Notes
chopper ^4.0.1 4.0.6 8.4.0
freezed_annotation ^0.14.0 0.14.3 3.1.0
http ^0.13.4 0.13.6 1.5.0
json_serializable ^5.0.2 5.0.2 6.11.1
match ^0.4.0 0.4.1 0.4.1
meta ^1.7.0 1.17.0 1.17.0
msgpack_dart ^1.0.0 1.0.1 1.0.1
quiver ^3.0.1 3.2.2 3.2.2
rxdart ^0.27.2 0.27.7 0.28.0
Transitive dependencies
Package Constraint Compatible Latest Notes
_fe_analyzer_shared - 31.0.0 89.0.0
analyzer - 2.8.0 8.2.0
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
build - 2.4.1 4.0.2
build_config - 1.0.0 1.2.0
checked_yaml - 2.0.1 2.0.4
cli_util - 0.3.5 0.4.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.2.1 3.1.2
file - 7.0.1 7.0.1
glob - 2.1.3 2.1.3
http_parser - 4.1.2 4.1.2
json_annotation - 4.1.0 4.9.0
logging - 1.3.0 1.3.0
matcher - 0.12.17 0.12.17
package_config - 2.2.0 2.2.0
path - 1.9.1 1.9.1
pub_semver - 2.2.0 2.2.0
pubspec_parse - 1.1.0 1.5.0
source_gen - 1.2.2 4.0.2
source_helper - 1.3.2 1.3.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.7 0.7.7
typed_data - 1.4.0 1.4.0
watcher - 1.1.4 1.1.4
yaml - 3.1.3 3.1.3

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 5 issues. Showing the first 2:

The constraint `^4.0.1` on chopper does not support the stable version `5.0.0`.

Try running dart pub upgrade --major-versions chopper to update the constraint.

The constraint `^0.14.0` on freezed_annotation does not support the stable version `0.15.0`.

Try running dart pub upgrade --major-versions freezed_annotation to update the constraint.

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.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
3
likes
100
points
126
downloads

Publisher

unverified uploader

Weekly Downloads

Dart Client for MagX multiplayer game server.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

chopper, freezed_annotation, http, json_serializable, match, meta, msgpack_dart, quiver, rxdart

More

Packages that depend on magx_client