source_server 3.0.0 source_server: ^3.0.0 copied to clipboard
A dart implementation of Source's Query Protocol and RCON. Supports most of the Source Games + Minecraft.
We analyzed this package 7 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
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 158010 elements... Initialized dartdoc with 204 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 37.8 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_YRWLYS/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 [98 more lines]
10/10 points: Package has an example
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
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.
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
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 |
concurrent_queue |
^1.4.0 |
1.4.0 | 1.4.0 |
freezed_annotation |
^2.0.3 |
2.4.4 | 2.4.4 |
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 |
---|---|---|---|
meta |
- | 1.16.0 | 1.16.0 |
rxdart |
- | 0.27.7 | 0.28.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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.15
, Dart 3.5.4
.
Check the analysis log for details.