y_debug_tools 1.2.0 copy "y_debug_tools: ^1.2.0" to clipboard
y_debug_tools: ^1.2.0 copied to clipboard

KDebugTools is a powerful library for debugging Flutter applications.

0
likes
90/ 160
pub points
24%
popularity

We analyzed this package 7 hours 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

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: y_debug_tools,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: y_debug_tools.

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 licenses: Apache-2.0, BSD-3-Clause.

failed
Provide documentation
10 / 20trigger folding of the section

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

50 out of 184 API elements (27.2 %) have documentation comments.

Some symbols that are missing documentation: k_debug_tools, k_debug_tools.ActionCallback, k_debug_tools.Debugger, k_debug_tools.Debugger.appContext, k_debug_tools.Debugger.customRootDirs.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
20 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:y_debug_tools/k_debug_tools.dart that imports:
  • package:y_debug_tools/y_debug_tools_module.dart that imports:
  • package:y_debug_tools/src/logwatcher/log_watcher_controller.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/ws_handler.dart that imports:
  • package:y_debug_tools/src/webserver/web_server.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/photo_handler.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `Linux`.

Because:

  • package:y_debug_tools/k_debug_tools.dart that imports:
  • package:y_debug_tools/y_debug_tools_module.dart that imports:
  • package:y_debug_tools/src/logwatcher/log_watcher_controller.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/ws_handler.dart that imports:
  • package:y_debug_tools/src/webserver/web_server.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/photo_handler.dart that imports:
  • package:photo_manager/photo_manager.dart that declares support for platforms: Android, iOS, macOS.
Package does not support platform `macOS`.

Because:

  • package:y_debug_tools/k_debug_tools.dart that imports:
  • package:y_debug_tools/y_debug_tools_module.dart that imports:
  • package:y_debug_tools/src/logwatcher/log_watcher_controller.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/ws_handler.dart that imports:
  • package:y_debug_tools/src/webserver/web_server.dart that imports:
  • package:wifi_info_flutter/wifi_info_flutter.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:y_debug_tools/k_debug_tools.dart that imports:
  • package:y_debug_tools/y_debug_tools_module.dart that imports:
  • package:y_debug_tools/src/logwatcher/log_watcher_controller.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/ws_handler.dart that imports:
  • package:y_debug_tools/src/webserver/web_server.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/screen_recorder_handler.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:y_debug_tools/k_debug_tools.dart that imports:
  • package:y_debug_tools/y_debug_tools_module.dart that imports:
  • package:y_debug_tools/src/logwatcher/log_watcher_controller.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/ws_handler.dart that imports:
  • package:y_debug_tools/src/webserver/web_server.dart that imports:
  • package:y_debug_tools/src/webserver/handlers/screen_recorder_handler.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

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

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

Found 147 issues. Showing the first 2:

WARNING: Unused import: 'model/localization_options.dart'.

lib/src/debugger.dart:25:8

   ╷
25 │ import 'model/localization_options.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/debugger.dart:89:15

   ╷
89 │       if (ret == null) {
   │               ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/debugger.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
archive ^3.1.1 3.6.1 3.6.1
convert ^3.0.0 3.1.2 3.1.2
crypto ^3.0.0 3.0.6 3.0.6
device_info ^2.0.0 2.0.3 2.0.3
fast_module ^1.3.0 1.3.1 1.3.1
flutter flutter 0.0.0 0.0.0
get ^4.6.5 4.6.6 4.6.6
http_multi_server ^3.0.0 3.2.1 3.2.1
http_parser ^4.0.0 4.0.2 4.1.1
http_server ^1.0.0 1.0.0 1.0.0
intl ^0.18.1 0.18.1 0.20.0
logger ^2.2.0 2.5.0 2.5.0
mime ^1.0.0 1.0.6 2.0.0
oktoast ^3.0.0 3.4.0 3.4.0
package_info ^2.0.0 2.0.2 2.0.2
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.0 2.1.5 2.1.5
photo_manager ^2.8.1 2.8.2 3.6.2
shared_preferences ^2.0.0 2.3.3 2.3.3
shelf ^1.0.0 1.4.1 1.4.2
shelf_proxy ^1.0.0 1.0.4 1.0.4
shelf_router ^1.0.0 1.1.4 1.1.4
shelf_static ^1.0.0 1.1.3 1.1.3
shelf_web_socket ^1.0.0 1.0.4 2.0.0
sqflite ^2.0.0+3 2.4.1 2.4.1
stream_channel ^2.1.0 2.1.2 2.1.2
uri ^1.0.0 1.0.0 1.0.0
uuid ^3.0.0 3.0.7 4.5.1
web_socket_channel ^2.0.0 2.4.5 3.0.1
wifi_info_flutter ^2.0.0 2.0.2 2.0.2
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
device_info_platform_interface - 2.0.1 2.0.1
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_methods - 1.1.1 1.1.1
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
quiver - 3.2.2 3.2.2
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
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+5 2.5.4+5
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.0 1.12.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
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 0.5.1 1.1.0
wifi_info_flutter_platform_interface - 2.0.1 2.0.1
xdg_directories - 1.1.0 1.1.0

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

Found 6 issues. Showing the first 2:

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

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

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

Try running dart pub upgrade --major-versions mime 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 3 errors:

  • INVALID_OVERRIDE - lib/y_debug_tools_module.dart:19:3 - 'YdebugToolsMoudle.onReceivedMessage' ('dynamic Function(String, dynamic)') isn't a valid override of 'FastModuleProtocol.onReceivedMessage' ('dynamic Function({dynamic arguments, required String eventName})').
  • MISSING_REQUIRED_ARGUMENT - lib/y_debug_tools_module.dart:30:18 - The named parameter 'eventName' is required, but there's no corresponding argument.
  • EXTRA_POSITIONAL_ARGUMENTS_COULD_BE_NAMED - lib/y_debug_tools_module.dart:30:36 - Too many positional arguments: 0 expected, but 2 found.

Run flutter pub downgrade and then flutter 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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.