Skip to content

Create user and set ip address if missing #1624

Create user and set ip address if missing

Create user and set ip address if missing #1624

GitHub Actions / Analysis of sentry_flutter succeeded Oct 3, 2023 in 30s

Package analysis results for sentry_flutter

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

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.dart that imports:
  • package:sentry_flutter/src/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/integrations/integrations.dart that imports:
  • package:sentry_flutter/src/integrations/load_release_integration.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `iOS`.

Because:

  • package:sentry_flutter/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/integrations/integrations.dart that imports:
  • package:sentry_flutter/src/integrations/load_release_integration.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `Linux`.

Because:

  • package:sentry_flutter/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/integrations/integrations.dart that imports:
  • package:sentry_flutter/src/integrations/load_release_integration.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:sentry_flutter/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/integrations/integrations.dart that imports:
  • package:sentry_flutter/src/integrations/load_release_integration.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package not compatible with platform Web

Because:

  • package:sentry_flutter/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/sentry_flutter.dart that imports:
  • package:sentry_flutter/src/integrations/integrations.dart that imports:
  • package:sentry_flutter/src/integrations/load_release_integration.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.dart that imports:
  • dart:io

Pass static analysis (0/50)

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

Found 9 issues. Showing the first 2:

ERROR: 'AndroidPlatformExceptionEventProcessor.apply' ('Future Function(SentryEvent, Hint)') isn't a valid override of 'EventProcessor.apply' ('FutureOr Function(SentryEvent, {Hint? hint})').

lib/src/event_processor/android_platform_exception_event_processor.dart:22:24

   ╷
22 │   Future<SentryEvent?> apply(SentryEvent event, Hint hint) async {
   │                        ^^^^^
   ╵

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

ERROR: 'FlutterEnricherEventProcessor.apply' ('Future Function(SentryEvent, Hint)') isn't a valid override of 'EventProcessor.apply' ('FutureOr Function(SentryEvent, {Hint? hint})').

lib/src/event_processor/flutter_enricher_event_processor.dart:33:24

   ╷
33 │   Future<SentryEvent?> apply(
   │                        ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/event_processor/flutter_enricher_event_processor.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
flutter flutter 0.0.0 0.0.0
flutter_web_plugins flutter 0.0.0 0.0.0
meta ^1.3.0 1.9.1 1.10.0
package_info_plus >=1.0.0 <5.0.0 4.1.0 4.1.0
sentry 7.9.0 7.9.0 7.10.1
Transitive dependencies
Package Constraint Compatible Latest
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.17.1 1.18.0
crypto - 3.0.3 3.0.3
ffi - 2.1.0 2.1.0
http - 1.1.0 1.1.0
http_parser - 4.0.2 4.0.2
js - 0.6.7 0.6.7
material_color_utilities - 0.2.0 0.8.0
package_info_plus_platform_interface - 2.0.1 2.0.1
path - 1.8.3 1.8.3
plugin_platform_interface - 2.1.6 2.1.6
sky_engine - 0.0.99 0.0.99
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.1.0
vector_math - 2.1.4 2.1.4
win32 - 5.0.9 5.0.9

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `7.9.0` on sentry does not support the stable version `7.10.0`, that was published 20 days ago.

When sentry is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions sentry to update the constraint.

✔ 10/10 points: Package supports latest stable Dart and Flutter SDKs

Versions