cim_flutter_websocket_sdk 1.0.1
cim_flutter_websocket_sdk: ^1.0.1 copied to clipboard
A flutter websocket sdk for cim. Cim is a websocket based instant messaging protocol,support websocket protocol and socket protocol.
We analyzed this package 12 hours ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Homepage URL is insecure.
Update the homepage field and use a secure (https) URL.
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.
10/10 points: 20% or more of the public API has dartdoc comments
181 out of 320 API elements (56.6 %) have documentation comments.
Some symbols that are missing documentation: Message.pb, Message.pb.Model, Message.pb.Model.$_whichOneof, Message.pb.Model.Model.fromBuffer, Message.pb.Model.Model.fromJson.
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:cim_flutter_websocket_sdk/socket_io_connect.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_linux.dartthat imports:package:file/local.dartthat imports:package:file/src/backends/local.dartthat imports:package:file/src/backends/local/local_file_system.dartthat imports:package:file/src/backends/local/local_link.dartthat imports:package:file/src/backends/local/local_file_system_entity.dartthat imports:package:file/src/backends/local/local_file.dartthat imports:package:file/src/io.dartthat imports:dart:io
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:cim_flutter_websocket_sdk/socket_io_connect.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:cim_flutter_websocket_sdk/socket_io_connect.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:cim_flutter_websocket_sdk/socket_io_connect.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:cim_flutter_websocket_sdk/socket_io_connect.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:cim_flutter_websocket_sdk/socket_io_connect.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32/win32.dartthat imports:package:win32/src/com/iwbemservices.dartthat imports:package:win32/src/com/iunknown.dartthat imports:package:win32/src/utils.dartthat imports:package:win32/src/win32/user32.g.dartthat imports:package:win32/src/variant.dartthat imports:package:win32/src/structs.g.dartthat imports:package:win32/src/guid.dartthat imports:package:win32/src/win32/ole32.g.dartthat imports:package:win32/src/combase.dartthat imports:package:win32/src/macros.dartthat imports:package:win32/src/constants.dartthat imports:package:ffi/ffi.dartthat imports:package:ffi/src/utf8.dartthat 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.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 24 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/Message.pb.dart:1:1
╷
1 │ ///
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/Message.pb.dart
INFO: Dangling library doc comment.
lib/Message.pbenum.dart:1:1
╷
1 │ ///
│ ^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/Message.pbenum.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
convert |
^3.1.1 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.3 |
3.0.7 | 3.0.7 | |
device_info_plus |
^8.2.2 |
8.2.2 | 12.2.0 | |
fixnum |
^1.1.0 |
1.1.1 | 1.1.1 | |
protobuf |
^2.0.1 |
2.1.0 | 5.1.0 | |
web_socket_client |
^0.1.0-dev.3 |
0.1.5 | 0.2.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
web_socket |
- | 1.0.1 | 1.0.1 | |
web_socket_channel |
- | 3.0.3 | 3.0.3 | |
win32 |
- | 4.1.4 | 5.15.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^8.2.2` on device_info_plus does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^2.0.1` on protobuf does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions protobuf 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.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.