automated_testing_framework_server_websocket 2.0.1+14 copy "automated_testing_framework_server_websocket: ^2.0.1+14" to clipboard
automated_testing_framework_server_websocket: ^2.0.1+14 copied to clipboard

Websocket based server for the Automated Testing Framework driver.

1
likes
110/ 140
pub points
0%
popularity

We analyzed this package 2 days ago, and awarded it 110 pub points (of a possible 140):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

37 out of 118 API elements (31.4 %) have documentation comments.

Some symbols that are missing documentation: automated_testing_framework_server_websocket, automated_testing_framework_server_websocket.AnnounceDeviceAuthCommandHandler, automated_testing_framework_server_websocket.AnnounceDeviceAuthCommandHandler.AnnounceDeviceAuthCommandHandler, automated_testing_framework_server_websocket.AnnounceDeviceAuthCommandHandler.handle, automated_testing_framework_server_websocket.AnnounceDriverAuthCommandHandler.

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 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:automated_testing_framework_server_websocket/automated_testing_framework_server_websocket.dart that imports:
  • package:automated_testing_framework_server_websocket/src/server/server.dart that imports:
  • dart:io
partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

INFO: The argument type 'Device' isn't related to 'String'.

lib/src/models/application.dart:34:67

   ╷
34 │         devices.removeWhere((key, value) => staleDevices.contains(value));
   │                                                                   ^^^^^
   ╵

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

INFO: The argument type 'Driver' isn't related to 'String'.

lib/src/models/application.dart:35:67

   ╷
35 │         drivers.removeWhere((key, value) => staleDrivers.contains(value));
   │                                                                   ^^^^^
   ╵

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

OK
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
args ^2.4.1 2.5.0 2.5.0
automated_testing_framework_models ^2.0.10+8 2.0.10+8 2.0.10+8
json_class ^2.2.1+3 2.2.2+1 3.0.0+13
logging ^1.1.1 1.2.0 1.2.0
meta ^1.8.0 1.15.0 1.15.0
uuid ^3.0.7 3.0.7 4.4.0
web_socket_channel ^2.4.0 2.4.5 3.0.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
clock - 1.1.1 1.1.1
collection - 1.18.0 1.18.0
convert - 3.1.1 3.1.1
crypto - 3.0.3 3.0.3
intl - 0.18.1 0.19.0
js - 0.7.1 0.7.1
path - 1.9.0 1.9.0
pointycastle - 3.9.1 3.9.1
stream_channel - 2.1.2 2.1.2
typed_data - 1.3.2 1.3.2
web - 0.5.1 0.5.1

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

Found 3 issues. Showing the first 2:

The constraint `^2.2.1+3` on json_class does not support the stable version `3.0.0`.

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

The constraint `^3.0.7` on uuid does not support the stable version `4.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.3.4.

Check the analysis log for details.