Skip to content

refactor: SentryNative integration

Sign in for the full log view
GitHub Actions / Analysis of sentry_dio succeeded Sep 12, 2023 in 18s

Package analysis results for sentry_dio

Score

80/130 points
(61.53846153846154%)

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 (10/10)

✔ 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

Pass static analysis (0/50)

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

ERROR: The method 'addSentryTraceHeaderFromSpan' isn't defined for the type 'TracingClientAdapter'.

lib/src/tracing_client_adapter.dart:60:11

   ╷
60 │           addSentryTraceHeaderFromSpan(span, options.headers);
   │           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

ERROR: The method 'addBaggageHeaderFromSpan' isn't defined for the type 'TracingClientAdapter'.

lib/src/tracing_client_adapter.dart:61:11

   ╷
61 │           addBaggageHeaderFromSpan(
   │           ^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

Support up-to-date dependencies (20/20)

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

Package Constraint Compatible Latest
dio ^5.0.0 5.3.2 5.3.2
sentry 7.9.0 7.9.0 7.9.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
collection - 1.18.0 1.18.0
crypto - 3.0.3 3.0.3
http - 1.1.0 1.1.0
http_parser - 4.0.2 4.0.2
meta - 1.10.0 1.10.0
path - 1.8.3 1.8.3
source_span - 1.10.0 1.10.0
stack_trace - 1.11.1 1.11.1
string_scanner - 1.2.0 1.2.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
uuid - 3.0.7 4.0.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

Versions