unhandled_error_reporter 1.0.3
unhandled_error_reporter: ^1.0.3 copied to clipboard
Report Any unhandled exception/error/failure to backend service as [ stacktrace, Device information, Risk level of this error ].
We analyzed this package 38 hours 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
10/10 points: Use an OSI-approved license
Detected license: MIT
.
0/10 points: 20% or more of the public API has dartdoc comments
1 out of 31 API elements (3.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: unhandled_error_reporter
, unhandled_error_reporter.ErrorCapture
, unhandled_error_reporter.ErrorCapture.ErrorCapture.new
, unhandled_error_reporter.ErrorCapture.facade
, unhandled_error_reporter.ErrorCapture.handleAsyncDartError
.
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:unhandled_error_reporter/unhandled_error_reporter.dart
that imports:package:unhandled_error_reporter/src/facades/unhandled_error_facade.dart
that imports:package:unhandled_error_reporter/src/device_info/device_info.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_linux.dart
that imports:package:file/local.dart
that imports:package:file/src/backends/local.dart
that imports:package:file/src/backends/local/local_file_system.dart
that imports:package:file/src/backends/local/local_link.dart
that imports:package:file/src/backends/local/local_file_system_entity.dart
that imports:package:file/src/backends/local/local_file.dart
that imports:package:file/src/io.dart
that imports:dart:io
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Android`.
Because:
package:unhandled_error_reporter/unhandled_error_reporter.dart
that imports:package:unhandled_error_reporter/src/facades/unhandled_error_facade.dart
that imports:package:unhandled_error_reporter/src/device_info/device_info.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `iOS`.
Because:
package:unhandled_error_reporter/unhandled_error_reporter.dart
that imports:package:unhandled_error_reporter/src/facades/unhandled_error_facade.dart
that imports:package:unhandled_error_reporter/src/device_info/device_info.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `Linux`.
Because:
package:unhandled_error_reporter/unhandled_error_reporter.dart
that imports:package:unhandled_error_reporter/src/facades/unhandled_error_facade.dart
that imports:package:unhandled_error_reporter/src/device_info/device_info.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
Package does not support platform `macOS`.
Because:
package:unhandled_error_reporter/unhandled_error_reporter.dart
that imports:package:unhandled_error_reporter/src/facades/unhandled_error_facade.dart
that imports:package:unhandled_error_reporter/src/device_info/device_info.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that declares support for platforms:Windows
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:unhandled_error_reporter/unhandled_error_reporter.dart
that imports:package:unhandled_error_reporter/src/facades/unhandled_error_facade.dart
that imports:package:unhandled_error_reporter/src/device_info/device_info.dart
that imports:package:device_info_plus/device_info_plus.dart
that imports:package:device_info_plus/src/device_info_plus_windows.dart
that imports:package:win32/win32.dart
that imports:package:win32/src/com/iwbemservices.dart
that imports:package:win32/src/com/iunknown.dart
that imports:package:win32/src/utils.dart
that imports:package:win32/src/win32/user32.g.dart
that imports:package:win32/src/variant.dart
that imports:package:win32/src/structs.g.dart
that imports:package:win32/src/guid.dart
that imports:package:win32/src/win32/ole32.g.dart
that imports:package:win32/src/combase.dart
that imports:package:win32/src/macros.dart
that imports:package:win32/src/constants.dart
that imports:package:ffi/ffi.dart
that imports:package:ffi/src/utf8.dart
that imports:dart:ffi
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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 4 issues. Showing the first 2:
INFO: Missing type annotation.
lib/src/facades/unhandled_error_facade.dart:38:3
╷
38 │ monitor(ErrorDto error) {
│ ^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/facades/unhandled_error_facade.dart
/tmp/pana_OIAUFK/lib/src/dtos/error_dto.dart doesn't match the Dart formatter.
To format your files run: dart format .
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
cupertino_icons |
^1.0.2 |
1.0.8 | 1.0.8 | |
device_info_plus |
^8.0.0 |
8.2.2 | 12.1.0 | |
package_info_plus |
^3.0.1 |
3.1.2 | 9.0.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest | Notes |
---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
ffi |
- | 2.1.4 | 2.1.4 | |
file |
- | 6.1.4 | 7.0.1 | |
http |
- | 0.13.6 | 1.5.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.16.0 | 1.17.0 | |
package_info_plus_platform_interface |
- | 2.0.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
source_span |
- | 1.10.1 | 1.10.1 | |
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.2.0 | 2.2.0 | |
win32 |
- | 4.1.4 | 5.14.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^8.0.0` on device_info_plus does not support the stable version `9.0.0`.
Try running dart pub upgrade --major-versions device_info_plus
to update the constraint.
The constraint `^3.0.1` on package_info_plus does not support the stable version `4.0.0`.
Try running dart pub upgrade --major-versions package_info_plus
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.
Analyzed with Pana 0.22.23
, Flutter 3.35.3
, Dart 3.9.2
.
Check the analysis log for details.