linux_system_info 0.0.7 copy "linux_system_info: ^0.0.7" to clipboard
linux_system_info: ^0.0.7 copied to clipboard

PlatformLinux

Dart library for getting general linux system information like amount of ram or swap, cpu's MHz, cpu usage and kernel/distribution related data

11
likes
110/ 140
pub points
48%
popularity

We analyzed this package 5 hours ago, and awarded it 110 pub points (of a possible 140):

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

0/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://github.com/LolzDEV/linux_system_info was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: linux_system_info,
    • contains a version property, and,
    • does not contain a publish_to property.

Unable to access git repository: Failed to run remote show origin.

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: GPL-3.0.

OK
Provide documentation
20 / 20trigger folding of the section

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

55 out of 64 API elements (85.9 %) have documentation comments.

Some symbols that are missing documentation: linux_system_info, linux_system_info.Cpu.address_sizes, linux_system_info.Cpu.wp, linux_system_info.GnomeInfo, linux_system_info.GnomeInfo.GnomeInfo.

10/10 points: Package has an example

OK
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:linux_system_info/linux_system_info.dart that imports:
  • package:linux_system_info/src/linux_system_info_base.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:linux_system_info/linux_system_info.dart that imports:
  • package:linux_system_info/src/linux_system_info_base.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:linux_system_info/linux_system_info.dart that imports:
  • package:linux_system_info/src/linux_system_info_base.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:linux_system_info/linux_system_info.dart that imports:
  • package:linux_system_info/src/linux_system_info_base.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
Package does not support platform `Web`.

Because:

  • package:linux_system_info/linux_system_info.dart that imports:
  • package:linux_system_info/src/linux_system_info_base.dart that imports:
  • package:xdg_directories/xdg_directories.dart that declares support for platforms: Linux.
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 variable name 'kernel_name' isn't a lowerCamelCase identifier.

lib/src/linux_system_info_base.dart:13:10

   ╷
13 │   String kernel_name = '';
   │          ^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/linux_system_info_base.dart

INFO: The variable name 'kernel_version' isn't a lowerCamelCase identifier.

lib/src/linux_system_info_base.dart:16:10

   ╷
16 │   String kernel_version = '';
   │          ^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/linux_system_info_base.dart

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
dbus ^0.6.3 0.6.8 0.7.10
ffi ^1.1.2 1.2.1 2.1.2
path ^1.8.0 1.9.0 1.9.0
tuple ^2.0.0 2.0.2 2.0.2
xdg_directories ^0.2.0 0.2.0+3 1.0.4
xml ^5.3.0 5.4.1 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
collection - 1.18.0 1.18.0
file - 6.1.4 7.0.0
meta - 1.15.0 1.15.0
petitparser - 5.4.0 6.0.2
platform - 3.1.4 3.1.4
process - 4.2.4 5.0.2

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

Found 4 issues. Showing the first 2:

The constraint `^0.6.3` on dbus does not support the stable version `0.7.0`.

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

The constraint `^1.1.2` on ffi does not support the stable version `2.0.0`.

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

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

11
likes
110
pub points
48%
popularity

Publisher

unverified uploader

Dart library for getting general linux system information like amount of ram or swap, cpu's MHz, cpu usage and kernel/distribution related data

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

dbus, ffi, path, tuple, xdg_directories, xml

More

Packages that depend on linux_system_info