mikrotik_mndp 0.0.4
mikrotik_mndp: ^0.0.4 copied to clipboard
Mikrotik MNDP Discovery Protocol
We analyzed this package 12 hours ago, and awarded it 105 pub points (of a possible 160):
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.
5/5 points: Provide a valid README.md
0/5 points: Provide a valid CHANGELOG.md
`CHANGELOG.md` does not contain reference to the current version ("0.0.4").
Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
0 out of 64 API elements (0.0 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs
lint.
Some symbols that are missing documentation: decoder
, decoder.MndpMessageDecoder
, decoder.MndpMessageDecoder.MndpMessageDecoder.new
, decoder.MndpMessageDecoder.decode
, decoder.MndpMessageDecoderImpl
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 does not support platform `Web`.
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
Package does not support platform `Windows`.
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_linux.dart
that imports:package:nm/nm.dart
that declares support for platforms:Linux
.
Package does not support platform `Linux`.
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:mikrotik_mndp/listener.dart
that imports:package:network_info_plus/network_info_plus.dart
that imports:package:network_info_plus/src/network_info_plus_windows.dart
that imports:package:win32/winsock2.dart
that imports:package:win32/src/win32/ws2_32.g.dart
that imports:package:win32/src/variant.dart
that imports:package:win32/src/win32/oleaut32.g.dart
that imports:package:win32/src/structs.g.dart
that imports:package:win32/src/guid.dart
that imports:package:win32/src/win32/ole32.g.dart
that imports:package:win32/src/combase.dart
that imports:package:win32/src/utils.dart
that imports:package:win32/src/win32/user32.g.dart
that imports:package:win32/src/callbacks.dart
that imports:package:win32/src/types.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf8.dart
that imports:dart:ffi
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 3 issues. Showing the first 2:
INFO: Missing type annotation.
lib/message.dart:39:10
╷
39 │ static fromJson(Map<String, dynamic> json) {
│ ^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/message.dart
/tmp/pana_PRNVPN/lib/listener.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
network_info_plus |
^4.1.0 |
4.1.0+1 | 7.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
dbus |
- | 0.7.11 | 0.7.11 | |
ffi |
- | 2.1.4 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
network_info_plus_platform_interface |
- | 1.1.3 | 2.0.2 | |
nm |
- | 0.5.0 | 0.5.0 | |
petitparser |
- | 7.0.1 | 7.0.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 5.14.0 | 5.14.0 | |
xml |
- | 6.6.1 | 6.6.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^4.1.0` on network_info_plus does not support the stable version `5.0.0`.
Try running dart pub upgrade --major-versions network_info_plus
to update the constraint.
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.23
, Flutter 3.35.5
, Dart 3.9.2
.
Check the analysis log for details.