refactor(log): make implementation consistent with metrics and span-first #3463
Package analysis results for sentry_flutter
Score
150/160 points
(93.75%)
Supported platforms
- Flutter
androidioswindowslinuxmacosweb
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 (20/20)
✔ 10/10 points: 20% or more of the public API has dartdoc comments
817 out of 1332 API elements (61.3 %) have documentation comments.
Some symbols that are missing documentation: sentry_flutter.AdditionalInfoExtractor, sentry_flutter.BindingWrapper.BindingWrapper.new, sentry_flutter.Breadcrumb.Breadcrumb.console, sentry_flutter.Breadcrumb.Breadcrumb.http, sentry_flutter.Breadcrumb.Breadcrumb.userInteraction.
✔ 10/10 points: Package has an example
Platform support (20/20)
✔ 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/native/factory.dartthat imports:package:sentry_flutter/src/native/factory_real.dartthat imports:package:sentry_flutter/src/native/java/sentry_native_java.dartthat imports:package:sentry_flutter/src/native/java/binding.dartthat imports:package:jni/jni.dartthat declares support for platforms:Android,Windows,Linux.
Package does not support platform `Linux`.
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_windows.dartthat imports:package:package_info_plus/src/file_version_info.dartthat imports:package:win32/win32.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/native/factory.dartthat imports:package:sentry_flutter/src/native/factory_real.dartthat imports:package:sentry_flutter/src/native/java/sentry_native_java.dartthat imports:package:sentry_flutter/src/native/java/binding.dartthat imports:package:jni/jni.dartthat declares support for platforms:Android,Windows,Linux.
Package not compatible with platform Web
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_linux.dartthat imports:dart:io
❌ 0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:sentry_flutter/sentry_flutter.dartthat imports:package:sentry_flutter/src/sentry_flutter.dartthat imports:package:sentry_flutter/src/integrations/integrations.dartthat imports:package:sentry_flutter/src/integrations/load_release_integration.dartthat imports:package:package_info_plus/package_info_plus.dartthat imports:package:package_info_plus/src/package_info_plus_linux.dartthat 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.
✔ 0/0 points: Swift Package Manager support
This iOS or macOS plugin supports the Swift Package Manager. It will be rewarded additional points in a future version of the scoring model.
See https://docs.flutter.dev/to/spm for details.
Pass static analysis (50/50)
✔ 50/50 points: code has no errors, warnings, lints, or formatting issues
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 | Notes |
|---|---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 | |
ffi |
^2.0.0 |
2.1.5 | 2.1.5 | |
jni |
0.14.2 |
0.14.2 | 0.15.2 | |
meta |
^1.3.0 |
1.17.0 | 1.18.0 | |
package_info_plus |
>=1.0.0 |
9.0.0 | 9.0.0 | |
sentry |
/github/workspace/packages/dart |
9.10.0 | 9.10.0 | |
web |
^1.1.0 |
1.1.1 | 1.1.1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
args |
- | 2.7.0 | 2.7.0 | |
async |
- | 2.13.0 | 2.13.0 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
package_config |
- | 2.2.0 | 2.2.0 | |
package_info_plus_platform_interface |
- | 3.2.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 | |
stack_trace |
- | 1.12.1 | 1.12.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 | |
uuid |
- | 4.5.2 | 4.5.2 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
win32 |
- | 5.15.0 | 5.15.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `0.14.2` on jni does not support the stable version `0.15.0`.
Try running dart pub upgrade --major-versions jni 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
- Pana: 0.23.5
- Dart: 3.10.7
- Flutter: 3.38.6