buoy_console 0.3.2
buoy_console: ^0.3.2 copied to clipboard
Inspect print, debugPrint and error output captured through the configured Buoy console hooks in Flutter debug builds.
We analyzed this package 3 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
5/5 points: Provide a valid README.md
5/5 points: Provide a valid CHANGELOG.md
0/10 points: Use an OSI-approved license
No license was recognized.
Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 92 API elements (2.2 %) 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: buoy_console, buoy_console.Buoy, buoy_console.Buoy.adapters, buoy_console.Buoy.addRegistryListener, buoy_console.Buoy.init.
10/10 points: Package has an example
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:buoy_console/buoy_console.dartthat imports:package:buoy_console/src/console_tool/console_modal.dartthat imports:package:buoy_console/src/devtools/console_messages.dartthat imports:package:buoy_console/src/devtools/console_filter.dartthat imports:package:buoy_console/src/console_log_store.dartthat imports:package:buoy_core/buoy_core.dartthat imports:package:buoy_core/src/interaction/semantics_screen_host.dartthat imports:package:buoy_core/src/interaction/screen_actions.dartthat imports:package:buoy_core/src/sync_client.dartthat imports:package:buoy_core/src/license/license_manager.dartthat imports:package:buoy_core/src/license/keygen.dartthat imports:dart:io
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 21 issues. Showing the first 2:
INFO: Statements in an if should be enclosed in a block.
lib/src/console_log_store.dart:11:9
╷
11 │ 'error')_v();}void _t(ConsoleLogEntry g){if(!Buoy.license.hasAccountAccess&& !Buoy.license.state.value.isCheckingAccount)return;_k=_k.length>=kConsoleMaxEntries?[..._k.sublist(_k.length-kConsoleMaxEntries+1),g]:[..._k,g];}void recordFatal(String label,Object?error,{StackTrace?stack,bool fatal=true,}){if(!Buoy.license.hasAccountAccess&&
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/console_log_store.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/console_log_store.dart:12:45
╷
12 │ !Buoy.license.state.value.isCheckingAccount)return;final h=_f(error);final i=_w('$label $h');final j=ConsoleLogEntry(id:_o++,method: 'error',level: 'error',args:[label,error],message: '$label $h',timestamp:DateTime.now().millisecondsSinceEpoch,stack:_i(stack),fatal:fatal?true:null,);_t(j);_m();_u();if(!i)_v(force:true);}String
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/console_log_store.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
buoy_core |
^0.3.3 |
0.3.8 | 0.3.8 | |
buoy_shared_ui |
^0.3.3 |
0.3.3 | 0.3.3 | |
shared_preferences |
^2.5.5 |
2.5.6 | 2.5.6 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.1 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
crypto |
- | 3.0.7 | 3.0.7 | |
cryptography |
- | 2.9.0 | 2.9.0 | |
ffi |
- | 2.2.0 | 2.2.0 | |
file |
- | 7.0.1 | 7.0.1 | |
logging |
- | 1.3.0 | 1.3.0 | |
material_color_utilities |
- | 0.13.0 | 0.13.1 | |
meta |
- | 1.19.0 | 1.19.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 | |
qr |
- | 3.0.2 | 4.0.0 | |
shared_preferences_android |
- | 2.4.28 | 2.4.28 | |
shared_preferences_foundation |
- | 2.5.7 | 2.5.7 | |
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 | |
socket_io_client |
- | 3.1.6 | 3.1.6 | |
socket_io_common |
- | 3.1.1 | 3.1.1 | |
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 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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.
Analyzed with Pana 0.23.19, Flutter 3.47.7, Dart 3.13.5.
Check the analysis log for details.