source_server 4.0.0 copy "source_server: ^4.0.0" to clipboard
source_server: ^4.0.0 copied to clipboard

A dart implementation of Source's Query Protocol and RCON. Supports most of the Source Games + Minecraft.

6
likes
120/ 160
pub points
143
downloads

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

Passed report section
Follow Dart file conventions
30 / 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

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

Detected license: BSD-3-Clause.

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 source_server... Discovering libraries... Linking elements... Precaching local docs for 157666 elements... Initialized dartdoc with 206 libraries Generating docs for library minecraft_server.dart from package:source_server/minecraft_server.dart... Generating docs for library source_server.dart from package:source_server/source_server.dart... Documented 2 public libraries in 26.5 seconds ERR: warning: ambiguous reexport of query_exception.QueryException, canonicalization candidates: (source_server, source_server) -> source_server (confidence 0.000) from query_exception.QueryException: (file:///tmp/pana_UKWMNE/lib/src/exceptions/query_exception.dart:4:7) source_server: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) source_server: 1.177 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667)) Use {@canonicalFor query_exception.QueryException} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [101 more lines]

Passed check 10/10 points: Package has 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:source_server/source_server.dart that imports:
  • package:source_server/src/source_server.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:source_server/source_server.dart that imports:
  • package:source_server/src/source_server.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.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 31 issues. Showing the first 2:

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

lib/src/query/minecraft/models/server_info.freezed.dart:227:17

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

To reproduce make sure you are using the lints_core and run dart analyze lib/src/query/minecraft/models/server_info.freezed.dart

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/src/query/minecraft/models/server_ping_info.freezed.dart:30:12

   ╷
30 │ // ignore: invalid_annotation_target
   │            ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/query/minecraft/models/server_ping_info.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
collection ^1.16.0 1.19.1 1.19.1
concurrent_queue ^1.4.0 1.5.0 1.5.0
freezed_annotation ^2.0.3 2.4.4 3.0.0
json_annotation ^4.5.0 4.9.0 4.9.0
logging ^1.0.2 1.3.0 1.3.0
Transitive dependencies
Package Constraint Compatible Latest Notes
meta - 1.17.0 1.17.0
rxdart - 0.28.0 0.28.0

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

The constraint `^2.0.3` on freezed_annotation does not support the stable version `3.0.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.21, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
6
likes
120
points
143
downloads

Publisher

verified publisherhexah.net

Weekly Downloads

A dart implementation of Source's Query Protocol and RCON. Supports most of the Source Games + Minecraft.

Repository (GitHub)

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, concurrent_queue, freezed_annotation, json_annotation, logging

More

Packages that depend on source_server