desktop_entry 1.0.1 copy "desktop_entry: ^1.0.1" to clipboard
desktop_entry: ^1.0.1 copied to clipboard

PlatformLinux

A Dart package for managing Desktop Entry files (.desktop) and DBus Service files in Linux environments.

5
likes
140/ 160
pub points
1%
popularity

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

failed
Platform support
20 / 20trigger folding of the section

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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

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
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.

5
likes
140
pub points
1%
popularity

Publisher

verified publishermarkvideon.dev

A Dart package for managing Desktop Entry files (.desktop) and DBus Service files in Linux environments.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

collection, path, xdg_directories

More

Packages that depend on desktop_entry