event_analysis_library 1.1.2 copy "event_analysis_library: ^1.1.2" to clipboard
event_analysis_library: ^1.1.2 copied to clipboard

Pinwheel event analysis library.

7
likes
80/ 160
pub points
0%
popularity

We analyzed this package 3 days ago, and awarded it 80 pub points (of a possible 160):

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

  • pubspec.yaml doesn't have a homepage entry.

  • pubspec.yaml doesn't have a repository entry.

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: BSD-3-Clause.

partial
Provide documentation
10 / 20trigger folding of the section

0/10 points: 20% or more of the public API has dartdoc comments

0 out of 12 API elements (0.0 %) 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: event_analysis_library, event_analysis_library.CreateEvent, event_analysis_library.CreateEvent.CreateEvent, event_analysis_library.CreateEvent.eventController, event_analysis_library.CreateEvent.initializationSdk.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:event_analysis_library/event_analysis_library.dart that imports:
  • package:event_analysis_library/src/eventPost/createEvent.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:event_analysis_library/event_analysis_library.dart that imports:
  • package:event_analysis_library/src/eventPost/createEvent.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:event_analysis_library/event_analysis_library.dart that imports:
  • package:event_analysis_library/src/eventPost/createEvent.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:event_analysis_library/event_analysis_library.dart that imports:
  • package:event_analysis_library/src/eventPost/createEvent.dart that imports:
  • package:permission_handler/permission_handler.dart that declares support for platforms: Android, iOS.

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.

failed
Pass static analysis
0 / 50trigger folding of the section

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

Found 26 issues. Showing the first 2:

ERROR: The getter 'carrierName' isn't defined for the type 'CarrierInfo'.

lib/src/shared/utils.dart:49:39

   ╷
49 │       carrierName = await CarrierInfo.carrierName;
   │                                       ^^^^^^^^^^^
   ╵

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

WARNING: The value of the field '_bearer' isn't used.

lib/src/api/request.dart:11:16

   ╷
11 │   static const _bearer = 'Bearer ';
   │                ^^^^^^^
   ╵

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

failed
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest
carrier_info ^2.0.4 2.0.8 2.0.8
connectivity_plus ^2.0.2 2.3.9 6.0.5
device_info_plus ^3.2.2 3.2.4 10.1.2
device_marketing_names ^0.3.3 0.3.3 0.9.1
flutter flutter 0.0.0 0.0.0
geolocator ^7.7.1 7.7.1 13.0.1
http ^0.13.3 0.13.6 1.2.2
package_info_plus ^1.3.0 1.4.2 8.0.2
permission_handler ^8.1.6 8.3.0 11.3.1
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
async - 2.11.0 2.11.0
characters - 1.3.0 1.3.0
collection - 1.18.0 1.19.0
connectivity_plus_linux - 1.3.1 1.3.1
connectivity_plus_macos - 1.2.6 1.2.6
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5
connectivity_plus_windows - 1.2.2 1.2.2
dbus - 0.7.4 0.7.10
device_info_plus_linux - 2.1.1 5.0.0
device_info_plus_macos - 2.2.3 5.0.0
device_info_plus_platform_interface - 2.6.1 7.0.1
device_info_plus_web - 2.1.0 5.0.0
device_info_plus_windows - 2.1.1 6.0.0
ffi - 1.2.1 2.1.3
file - 6.1.4 7.0.0
flutter_web_plugins - 0.0.0 0.0.0
geolocator_android - 2.1.0 4.6.1
geolocator_apple - 1.2.2 2.3.7
geolocator_platform_interface - 2.3.6 4.2.4
geolocator_web - 2.0.6 4.1.1
http_parser - 4.0.2 4.1.0
js - 0.6.7 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.15.0
nm - 0.5.0 0.5.0
package_info_plus_linux - 1.0.5 2.0.0
package_info_plus_macos - 1.3.0 2.0.0
package_info_plus_platform_interface - 1.0.2 3.0.1
package_info_plus_web - 1.0.6 2.0.0
package_info_plus_windows - 1.0.5 3.0.0
path - 1.9.0 1.9.0
permission_handler_platform_interface - 3.12.0 4.2.3
petitparser - 6.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.3.0 1.3.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.3.2 1.3.2
universal_platform - 1.1.0 1.1.0
vector_math - 2.1.4 2.1.4
win32 - 2.6.1 5.5.4
xml - 6.5.0 6.5.0

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

Found 7 issues. Showing the first 2:

The constraint `^2.0.2` on connectivity_plus does not support the stable version `3.0.0`.

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

The constraint `^3.2.2` on device_info_plus does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions device_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.12, Flutter 3.24.2, Dart 3.5.2.

Check the analysis log for details.