linux_system_info 0.0.7 icon indicating copy to clipboard operation
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

10
likes
120/ 140
pub points
63%
popularity

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

icon indicating section status
Follow Dart file conventions
30 / 30icon to trigger 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: GPL-3.0.

icon indicating section status
Provide documentation
20 / 20icon to trigger folding of the section

10/10 points: Package has an example

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

  • 95 out of 108 API elements (88.0 %) have documentation comments.
icon indicating section status
Platform support
20 / 20icon to trigger 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.
icon indicating section status
Pass static analysis
20 / 30icon to trigger folding of the section

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 31 issues. Showing the first 2:

INFO: Name non-constant identifiers using lowerCamelCase.

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: Name non-constant identifiers using lowerCamelCase.

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

icon indicating section status
Support up-to-date dependencies
10 / 20icon to trigger folding of the section

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

PackageConstraintCompatibleLatest
dbus^0.6.30.6.80.7.8
ffi^1.1.21.2.12.0.1
path^1.8.01.8.21.8.2
tuple^2.0.02.0.12.0.1
xdg_directories^0.2.00.2.0+20.2.0+2
xml^5.3.05.4.16.2.2
Transitive dependencies
PackageConstraintCompatibleLatest
args-2.3.12.3.1
collection-1.17.01.17.0
file-6.1.46.1.4
meta-1.8.01.8.0
petitparser-5.1.05.1.0
platform-3.1.03.1.0
process-4.2.44.2.4

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

Found 3 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

icon indicating section status
Support sound null safety
20 / 20icon to trigger folding of the section

20/20 points: Package and dependencies are fully migrated to null safety!

Analysed with Pana 0.21.20, Dart 2.18.4.

10
likes
120
pub points
63%
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

Homepage

Documentation

API reference

License

Icon for licenses.GPL-3.0 (LICENSE)

Dependencies

dbus, ffi, path, tuple, xdg_directories, xml

More

Packages that depend on linux_system_info