self_test_bridge 2.3.1 copy "self_test_bridge: ^2.3.1" to clipboard
self_test_bridge: ^2.3.1 copied to clipboard

The socket and the report server for self_test: drives a running Flutter app from outside it, and serves each run as a local web page.

150/ 160
pub points
515
downloads

We analyzed this package 17 hours ago, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/loonix/self_test was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/loonix/self_test/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

198 out of 360 API elements (55.0 %) have documentation comments.

Some symbols that are missing documentation: self_test_bridge, self_test_bridge.AppLifecycleEvent, self_test_bridge.AppLifecycleEvent.AppLifecycleEvent.new, self_test_bridge.AppLifecycleEvent.state, self_test_bridge.AppLifecycleEvent.timestamp.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:self_test_bridge/self_test_bridge.dart that imports:
  • package:self_test_bridge/src/bridge_client.dart that imports:
  • package:self_test/self_test.dart that imports:
  • package:self_test/src/widgets/self_testable_widget.dart that imports:
  • package:self_test/src/core/manager.dart that imports:
  • package:self_test/src/screenshot/screenshot_writer.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

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

Found 57 issues. Showing the first 2:

INFO: 'pipelineOwner' is deprecated and shouldn't be used. Interact with the pipelineOwner tree rooted at RendererBinding.rootPipelineOwner instead. Or instead of accessing the SemanticsOwner of any PipelineOwner interact with the SemanticsBinding directly. This feature was deprecated after v3.10.0-12.0.pre.

lib/src/bridge/accessibility.dart:152:43

    ╷
152 │     final owner = WidgetsBinding.instance.pipelineOwner.semanticsOwner;
    │                                           ^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bridge/accessibility.dart

INFO: Statements in an if should be enclosed in a block.

lib/src/bridge/accessibility.dart:272:9

    ╷
272 │         return _textToSnakeCase(text) + '_button';
    │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/bridge/accessibility.dart

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
dio ^5.4.0 5.11.1 5.11.1
self_test ^2.3.1 2.3.1 2.3.1
shared_preferences ^2.2.2 2.5.6 2.5.6
web_socket_channel >=2.4.0 <4.0.0 3.0.3 3.0.3
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
code_assets - 2.1.0 2.1.0
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
dio_web_adapter - 2.2.2 2.2.2
ffi - 2.2.0 2.2.0
file - 7.0.1 7.0.1
hooks - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
jni - 1.1.0 1.1.0
jni_util - 1.0.0 1.0.0
logging - 1.3.0 1.3.0
material_color_utilities - 0.13.0 0.13.1
meta - 1.19.0 1.19.0
mime - 2.1.0 2.1.0
objective_c - 9.6.2 9.6.2
package_config - 3.0.0 3.0.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.2 2.2.2
path_provider_platform_interface - 2.1.3 2.1.3
path_provider_windows - 2.3.0 2.3.0
platform - 3.2.0 3.2.0
plugin_platform_interface - 2.1.8 2.1.8
pub_semver - 2.2.1 2.2.1
record_use - 1.1.1 1.1.1
shared_preferences_android - 2.5.0 2.5.0
shared_preferences_foundation - 2.6.0 2.6.0
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.2 2.4.2
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
source_span - 1.10.2 1.10.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.4.3 2.4.3
web - 1.1.1 1.1.1
web_socket - 1.0.1 1.0.1
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.4 3.1.4

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

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

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
150
points
515
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

The socket and the report server for self_test: drives a running Flutter app from outside it, and serves each run as a local web page.

Repository (GitHub)
View/report issues

Topics

#testing #flutter #automation #websocket

License

MIT (license)

Dependencies

dio, flutter, self_test, shared_preferences, web_socket_channel

More

Packages that depend on self_test_bridge