Skip to content

Version Bump

Version Bump #235

GitHub Actions / Analysis of telnyx_webrtc succeeded Nov 7, 2024 in 1m 44s

Package analysis results for telnyx_webrtc

Score

110/160 points
(68.75%)

Supported platforms

  • Flutter
    • android
    • ios
    • windows
    • linux
    • macos

Details

Follow Dart file conventions (30/30)

✔ 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.

Provide documentation (0/20)

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

22 out of 565 API elements (3.9 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: attach_call_message, attach_call_message.AttachCallMessage, attach_call_message.AttachCallMessage.AttachCallMessage, attach_call_message.AttachCallMessage.AttachCallMessage.fromJson, attach_call_message.AttachCallMessage.id.

❌ 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Platform support (20/20)

✔ 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 does not support platform `Web`.

Because:

  • package:telnyx_webrtc/telnyx_webrtc.dart that imports:
  • package:telnyx_webrtc/peer/peer.dart that imports:
  • package:flutter_webrtc/flutter_webrtc.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

❌ 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:telnyx_webrtc/telnyx_webrtc.dart that imports:
  • package:telnyx_webrtc/peer/peer.dart that imports:
  • package:telnyx_webrtc/model/verto/receive/received_message_body.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.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.

Pass static analysis (30/50)

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

Found 25 issues. Showing the first 2:

WARNING: Unused import: 'package:flutter/foundation.dart'.

lib/peer/peer.dart:4:8

  ╷
4 │ import 'package:flutter/foundation.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: The value of the local variable 'subscription' isn't used.

lib/telnyx_client.dart:93:50

   ╷
93 │     StreamSubscription<List<ConnectivityResult>> subscription = Connectivity()
   │                                                  ^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies (30/40)

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

Package Constraint Compatible Latest
assets_audio_player ^3.1.1 3.1.1 3.1.1
audioplayers ^5.2.1 5.2.1 6.1.0
build_runner ^2.2.0 2.4.13 2.4.13
connectivity_plus ^6.1.0 6.1.0 6.1.0
flutter flutter 0.0.0 0.0.0
flutter_lints ^2.0.1 2.0.3 5.0.0
flutter_webrtc ^0.11.1 0.11.7 0.12.1+hotfix.1
logger ^1.1.0 1.4.0 2.4.0
mockito ^5.2.0 5.4.4 5.4.4
shared_preferences ^2.2.3 2.3.2 2.3.2
uuid ^3.0.6 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 72.0.0 76.0.0
_macros - 0.3.2 0.3.2
analyzer - 6.7.0 6.11.0
args - 2.6.0 2.6.0
assets_audio_player_web - 3.1.1 3.1.1
async - 2.12.0 2.12.0
audioplayers_android - 4.0.3 5.0.0
audioplayers_darwin - 5.0.2 6.0.0
audioplayers_linux - 3.1.0 4.0.0
audioplayers_platform_interface - 6.1.0 7.0.0
audioplayers_web - 4.1.0 5.0.1
audioplayers_windows - 3.1.0 4.0.0
boolean_selector - 2.1.2 2.1.2
build - 2.4.1 2.4.1
build_config - 1.1.1 1.1.1
build_daemon - 4.0.2 4.0.2
build_resolvers - 2.4.2 2.4.2
build_runner_core - 7.3.2 7.3.2
built_collection - 5.1.1 5.1.1
built_value - 8.9.2 8.9.2
characters - 1.3.0 1.3.1
checked_yaml - 2.0.3 2.0.3
code_builder - 4.10.1 4.10.1
collection - 1.18.0 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dart_style - 2.3.7 2.3.7
dart_webrtc - 1.4.9 1.4.9
dbus - 0.7.10 0.7.10
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter_web_plugins - 0.0.0 0.0.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
graphs - 2.3.2 2.3.2
http - 1.2.2 1.2.2
http_multi_server - 3.2.1 3.2.1
http_parser - 4.0.2 4.1.1
io - 1.0.4 1.0.4
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
lints - 2.1.1 5.1.0
logging - 1.3.0 1.3.0
macros - 0.1.2-main.4 0.1.3-main.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
nm - 0.5.0 0.5.0
package_config - 2.1.0 2.1.0
path - 1.9.1 1.9.1
path_provider - 2.1.5 2.1.5
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.0.2 6.0.2
platform - 3.1.6 3.1.6
platform_detect - 2.1.0 2.1.0
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
pub_semver - 2.1.4 2.1.4
pubspec_parse - 1.3.0 1.3.0
rxdart - 0.27.7 0.28.0
shared_preferences_android - 2.3.3 2.3.3
shared_preferences_foundation - 2.5.3 2.5.3
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
shelf - 1.4.1 1.4.2
shelf_web_socket - 2.0.0 2.0.0
sky_engine - 0.0.99 0.0.99
source_gen - 1.5.0 1.5.0
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
stream_transform - 2.1.0 2.1.0
string_scanner - 1.4.0 1.4.0
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
timing - 1.0.1 1.0.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
watcher - 1.1.0 1.1.0
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
webrtc_interface - 1.2.0 1.2.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0
yaml - 3.1.2 3.1.2

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

Found 5 issues. Showing the first 2:

The constraint `^5.2.1` on audioplayers does not support the stable version `6.0.0`.

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

The constraint `^2.0.1` on flutter_lints does not support the stable version `3.0.0`.

Try running dart pub upgrade --major-versions flutter_lints 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.

Versions