ana 1.1.4
ana: ^1.1.4 copied to clipboard
Analytics for my apps
We analyzed this package 2 days ago, and awarded it 100 pub points (of a possible 160):
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.
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
.
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
.
10/10 points: Package has an example
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
.
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.
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.
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
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
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.
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 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.