desktop_entry 1.0.1 desktop_entry: ^1.0.1 copied to clipboard
A Dart package for managing Desktop Entry files (.desktop) and DBus Service files in Linux environments.
We analyzed this package 3 days ago, and awarded it 140 pub points (of a possible 160):
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: BSD-3-Clause
.
10/10 points: 20% or more of the public API has dartdoc comments
58 out of 221 API elements (26.2 %) have documentation comments.
Some symbols that are missing documentation: desktop_entry.DBusFileContents
, desktop_entry.DBusFileContents.DBusFileContents
, desktop_entry.DBusFileContents.DBusFileContents.fromFile
, desktop_entry.DBusFileContents.DBusFileContents.fromLines
, desktop_entry.DBusFileContents.DBusFileContents.fromMap
.
10/10 points: Package has an example
20/20 points: Supports 1 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Linux
These platforms are not supported:
Package does not support platform `Android`.
Because:
package:desktop_entry/desktop_entry.dart
that declares support for platforms:Linux
.
Package does not support platform `iOS`.
Because:
package:desktop_entry/desktop_entry.dart
that declares support for platforms:Linux
.
Package does not support platform `Windows`.
Because:
package:desktop_entry/desktop_entry.dart
that declares support for platforms:Linux
.
Package does not support platform `macOS`.
Because:
package:desktop_entry/desktop_entry.dart
that declares support for platforms:Linux
.
Package does not support platform `Web`.
Because:
package:desktop_entry/desktop_entry.dart
that declares support for platforms:Linux
.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:desktop_entry/desktop_entry.dart
that imports:package:desktop_entry/src/util/util.dart
that imports:package:desktop_entry/src/model/specification_types.dart
that imports:package:desktop_entry/src/model/interface/write_to_file.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 31 issues. Showing the first 2:
INFO: The referenced identifier is a wildcard.
lib/src/model/dbus/dbus_service.dart:59:43
╷
59 │ unrecognisedEntry.writeToFile(file, _);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/dbus/dbus_service.dart
INFO: The referenced identifier is a wildcard.
lib/src/model/desktop_entry/desktop_action.dart:50:43
╷
50 │ unrecognisedEntry.writeToFile(file, _);
│ ^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/model/desktop_entry/desktop_action.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
^1.16.0 |
1.19.1 | 1.19.1 |
path |
^1.8.2 |
1.9.1 | 1.9.1 |
xdg_directories |
^0.2.0+2 |
0.2.0+3 | 1.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
file |
- | 6.1.4 | 7.0.1 |
meta |
- | 1.16.0 | 1.16.0 |
platform |
- | 3.1.6 | 3.1.6 |
process |
- | 4.2.4 | 5.0.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^0.2.0+2` on xdg_directories does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions xdg_directories
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.15
, Dart 3.5.4
.
Check the analysis log for details.