superuser 1.0.2
superuser: ^1.0.2 copied to clipboard
Detect, verify user who execute Flutter program has superuser role and running with superuser permission.
We analyzed this package 24 days ago, and awarded it 140 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Repository URL doesn't exist.
At the time of the analysis https://github.com/rk0cc/superuser/tree/main/superuser was unreachable. Make sure that the website is reachable via HEAD requests.
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
28 out of 28 API elements (100.0 %) have documentation comments.
10/10 points: Package has an example
20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:superuser/superuser.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `iOS`.
Because:
package:superuser/superuser.dartthat declares support for platforms:Windows,Linux,macOS.
Package does not support platform `Web`.
Because:
package:superuser/superuser.dartthat declares support for platforms:Windows,Linux,macOS.
These issues are present but do not affect the score, because they may not originate in your package:
Package does not support platform `Windows`.
Because:
package:superuser/superuser.dartthat imports:package:superuser/src/instance.dartthat imports:package:superuser_plugin_unix/superuser_plugin_unix.dartthat declares support for platforms:Linux,macOS.
Package does not support platform `Linux`.
Because:
package:superuser/superuser.dartthat imports:package:superuser/src/instance.dartthat imports:package:superuser_plugin_windows/superuser_plugin_windows.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:superuser/superuser.dartthat imports:package:superuser/src/instance.dartthat imports:package:superuser_plugin_windows/superuser_plugin_windows.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
INFO: The import of 'package:meta/meta.dart' is unnecessary because all of the used elements are also provided by the import of 'package:flutter/foundation.dart'.
lib/src/instance.dart:4:8
╷
4 │ import 'package:meta/meta.dart';
│ ^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/instance.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
meta |
^1.12.0 |
1.17.0 | 1.17.0 | |
superuser_interfaces |
^2.0.0 |
2.2.0 | 3.0.0+1 | |
superuser_plugin_unix |
^1.0.0 |
1.0.0 | 3.0.0+1 | |
superuser_plugin_windows |
^1.0.0 |
1.0.0 | 3.0.0+1 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
characters |
- | 1.4.0 | 1.4.1 | |
collection |
- | 1.19.1 | 1.19.1 | |
ffi |
- | 2.1.4 | 2.1.4 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 3 issues. Showing the first 2:
The constraint `^2.0.0` on superuser_interfaces does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions superuser_interfaces to update the constraint.
The constraint `^1.0.0` on superuser_plugin_unix does not support the stable version `2.0.0`.
Try running dart pub upgrade --major-versions superuser_plugin_unix 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.23.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.