superviz_realtime 1.0.1 copy "superviz_realtime: ^1.0.1" to clipboard
superviz_realtime: ^1.0.1 copied to clipboard

The superviz's realtime package

1
likes
90/ 160
pub points
59
downloads

We analyzed this package 11 days ago, and awarded it 90 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/SuperViz/realtime-flutter/issues was unreachable. Make sure that the website is reachable via HEAD requests.

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-2-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

17 out of 67 API elements (25.4 %) have documentation comments.

Some symbols that are missing documentation: superviz_realtime, superviz_realtime.Channel, superviz_realtime.Channel.Channel, superviz_realtime.Channel.disconnect, superviz_realtime.Channel.name.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

WARNING: The declaration '_validateApiKey' isn't referenced.

lib/src/components/realtime/realtime.dart:238:16

    ╷
238 │   Future<void> _validateApiKey() async {
    │                ^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/components/realtime/realtime.dart

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
http ^1.2.2 1.2.2 1.2.2
superviz_socket_client ^1.0.0 1.1.0 2.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
collection - 1.19.1 1.19.1
http_parser - 4.1.1 4.1.1
logging - 1.3.0 1.3.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
socket_io_client - 3.0.2 3.0.2
socket_io_common - 3.0.1 3.0.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
web - 1.1.0 1.1.0

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^1.0.0` on superviz_socket_client does not support the stable version `2.0.0`.

Try running dart pub upgrade --major-versions superviz_socket_client to update the constraint.

10/10 points: Package supports latest stable Dart and Flutter SDKs

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • ARGUMENT_TYPE_NOT_ASSIGNABLE - lib/src/services/presence/presence.dart:55:36 - The argument type 'List

Run dart pub downgrade and then dart analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.17, Dart 3.6.0.

Check the analysis log for details.