Skip to content

cleanup

cleanup #4158

GitHub Actions / Analysis of sentry_dio succeeded Feb 18, 2025 in 50s

Package analysis results for sentry_dio

Score

90/160 points
(56.25%)

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

4 out of 6 API elements (66.7 %) have documentation comments.

Some symbols that are missing documentation: sentry_dio, sentry_dio.DioEventProcessor.apply.

✔ 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

❌ 0/0 points: WASM compatibility

Unable to detect compatibility with runtime wasm, and this package will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Pass static analysis (0/50)

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

Found 3 issues. Showing the first 2:

ERROR: The getter 'response' isn't defined for the type 'Hint'.

lib/src/dio_event_processor.dart:35:10

   ╷
35 │     hint.response ??= _responseFrom(dioError);
   │          ^^^^^^^^
   ╵

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

ERROR: The setter 'response' isn't defined for the type 'Hint'.

lib/src/dio_event_processor.dart:35:10

   ╷
35 │     hint.response ??= _responseFrom(dioError);
   │          ^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
dio ^5.0.0 5.8.0+1 5.8.0+1
sentry 8.13.0 8.13.0 8.13.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.13.0 2.13.0
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
dio_web_adapter - 2.1.0 2.1.0
fixnum - 1.1.1 1.1.1
http - 1.3.0 1.3.0
http_parser - 4.1.2 4.1.2
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
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.1 4.5.1
web - 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

❌ 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 3 errors:

  • UNDEFINED_GETTER - lib/src/dio_event_processor.dart:35:10 - The getter 'response' isn't defined for the type 'Hint'.
  • UNDEFINED_SETTER - lib/src/dio_event_processor.dart:35:10 - The setter 'response' isn't defined for the type 'Hint'.
  • UNDEFINED_GETTER - lib/src/dio_event_processor.dart:105:30 - The getter 'maxResponseBodySize' isn't defined for the type 'Hint'.

Run dart pub downgrade and then dart 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.

Versions