source_server 4.0.0 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.
We analyzed this package 3 days ago, and awarded it 110 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
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 157518 elements... Initialized dartdoc with 202 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 34.8 seconds ERR: warning: ambiguous reexport of source_server.SourceServer, canonicalization candidates: (source_server, source_server) -> source_server (confidence 0.000) from source_server.SourceServer: (file:///tmp/pana_LQWQIN/lib/src/source_server.dart:7:7) source_server: 1.260 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2500)) source_server: 1.260 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2500)) Use {@canonicalFor source_server.SourceServer} 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 [78 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
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.18.0 | 1.18.0 |
concurrent_queue |
^1.4.0 |
1.4.0 | 1.4.0 |
freezed_annotation |
^2.0.3 |
2.4.1 | 2.4.1 |
json_annotation |
^4.5.0 |
4.9.0 | 4.9.0 |
logging |
^1.0.2 |
1.2.0 | 1.2.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
meta |
- | 1.14.0 | 1.14.0 |
rxdart |
- | 0.27.7 | 0.27.7 |
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.