ana 1.1.4 copy "ana: ^1.1.4" to clipboard
ana: ^1.1.4 copied to clipboard

Analytics for my apps

1
likes
100/ 160
pub points
54
downloads

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

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

Failed check 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 50 to 180 characters to describe the package, what it does, and its target use case.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-3-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

1072 out of 1268 API elements (84.5 %) have documentation comments.

Some symbols that are missing documentation: ana, ana.Alt.alt, ana.Alt2, ana.Alt2.alt, ana.Alt3.

Passed check 10/10 points: Package has an example

Failed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:ana/ana.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:ana/ana.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:ana/ana.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
Package does not support platform `Linux`.

Because:

  • package:ana/ana.dart that imports:
  • package:platform_device_id/platform_device_id.dart that imports:
  • package:device_info/device_info.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:ana/ana.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:ana/ana.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that declares support for platforms: Linux.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:ana/ana.dart that imports:
  • package:battery_plus/battery_plus.dart that imports:
  • package:battery_plus/src/battery_plus_linux.dart that imports:
  • package:upower/upower.dart that imports:
  • package:upower/src/upower_client.dart that imports:
  • package:dbus/dbus.dart that imports:
  • package:dbus/src/dbus_value.dart that 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.

Failed check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/ana/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 16 issues. Showing the first 2:

WARNING: Unused import: 'dart:convert'.

lib/identity/integrity_util.dart:1:8

  ╷
1 │ import 'dart:convert';
  │        ^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/identity/integrity_util.dart

WARNING: Unused import: 'package:device_info_plus/device_info_plus.dart'.

lib/identity/integrity_util.dart:5:8

  ╷
5 │ import 'package:device_info_plus/device_info_plus.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/identity/integrity_util.dart

Failed report section
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
battery_plus ^3.0.3 3.0.6 6.2.1
connectivity_plus ^3.0.3 3.0.6 6.1.4
device_info_plus ^8.1.0 8.2.2 11.4.0
fpdart any 1.1.1 1.1.1
network_info_plus ^3.0.2 3.0.5 6.1.4
platform_device_id ^1.0.1 1.0.1 1.0.1
plugin_platform_interface ^2.0.2 2.1.8 2.1.8
shared_preferences ^2.1.0 2.5.3 2.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
battery_plus_platform_interface - 1.2.2 2.0.1
characters - 1.4.0 1.4.0
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 1.2.4 2.0.1
dbus - 0.7.11 0.7.11
device_info - 2.0.3 2.0.3 Discontinued
device_info_platform_interface - 2.0.1 2.0.1
device_info_plus_platform_interface - 7.0.2 7.0.2
ffi - 2.1.4 2.1.4
file - 6.1.4 7.0.1
js - 0.6.7 0.7.2 Discontinued
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
network_info_plus_platform_interface - 1.1.3 2.0.2
nm - 0.5.0 0.5.0
path - 1.9.1 1.9.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 6.1.0
platform - 3.1.6 3.1.6
platform_device_id_linux - 1.0.0 1.0.0
platform_device_id_macos - 1.0.0 1.0.0
platform_device_id_platform_interface - 1.0.0 1.0.0
platform_device_id_web - 1.0.0 1.0.0
platform_device_id_windows - 1.0.0 1.0.0
shared_preferences_android - 2.4.10 2.4.10
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.3 2.4.3
shared_preferences_windows - 2.4.1 2.4.1
upower - 0.7.0 0.7.0
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
win32 - 4.1.4 5.12.0
xdg_directories - 1.1.0 1.1.0
xml - 6.5.0 6.5.0

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

Found 4 issues. Showing the first 2:

The constraint `^3.0.3` on battery_plus does not support the stable version `4.0.0`.

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

The constraint `^3.0.3` on connectivity_plus does not support the stable version `4.0.0`.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 15 errors:

  • NON_TYPE_AS_TYPE_ARGUMENT - lib/core/type_defs.dart:3:34 - The name 'Either' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_METHOD - lib/identity/identity_util.dart:16:14 - The method 'right' isn't defined for the type 'IdentityUtil'.
  • UNDEFINED_METHOD - lib/identity/identity_util.dart:19:31 - The method 'left' isn't defined for the type 'IdentityUtil'.

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

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions: