tinode 1.0.0-alpha.4 tinode: ^1.0.0-alpha.4 copied to clipboard
This SDK implements Tinode client-side protocol for multi platform applications based on dart.
We analyzed this package 3 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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
279 out of 503 API elements (55.5 %) have documentation comments.
Some symbols that are missing documentation: tinode
, tinode.Acc
, tinode.AccPacketData
, tinode.AccPacketData.AccPacketData
, tinode.AccPacketData.cred
.
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:tinode/tinode.dart
that imports:package:tinode/src/meta-get-builder.dart
that imports:package:tinode/src/topic.dart
that imports:package:tinode/src/topic-me.dart
that imports:package:tinode/src/models/message.dart
that imports:package:tinode/src/services/packet-generator.dart
that imports:package:tinode/src/services/configuration.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:tinode/tinode.dart
that imports:package:tinode/src/meta-get-builder.dart
that imports:package:tinode/src/topic.dart
that imports:package:tinode/src/topic-me.dart
that imports:package:tinode/src/models/message.dart
that imports:package:tinode/src/services/packet-generator.dart
that imports:package:tinode/src/services/configuration.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 71 issues. Showing the first 2:
WARNING: Unnecessary type check; the result is always 'true'.
lib/src/models/access-mode.dart:134:11
╷
134 │ if (!(upd is String)) {
│ ^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/access-mode.dart
WARNING: The operand can't be null, so the condition is always 'true'.
lib/src/models/server-messages.dart:101:16
╷
101 │ sub: sub != null && sub.length != null ? sub.map((sub) => TopicSubscription.fromMessage(sub)).toList() : [],
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/models/server-messages.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
get_it |
^7.1.3 |
7.7.0 | 8.0.2 |
rxdart |
^0.27.1 |
0.27.7 | 0.28.0 |
web_socket_channel |
^2.1.0 |
2.4.5 | 3.0.1 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
collection |
- | 1.19.1 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
meta |
- | 1.16.0 | 1.16.0 |
stream_channel |
- | 2.1.2 | 2.1.2 |
typed_data |
- | 1.4.0 | 1.4.0 |
web |
- | 0.5.1 | 1.1.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 `^7.1.3` on get_it does not support the stable version `8.0.0`.
Try running dart pub upgrade --major-versions get_it
to update the constraint.
The constraint `^0.27.1` on rxdart does not support the stable version `0.28.0`.
Try running dart pub upgrade --major-versions rxdart
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.15
, Dart 3.5.4
.
Check the analysis log for details.