process 3.0.13

Dart native
Flutter Android iOS

A pluggable, mockable process invocation abstraction for Dart.

3
likes
80 / 110
pub points
100 %
popularity

We analyzed this package on Sep 25, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
20 / 20

10/10 points: Provide a valid pubspec.yaml

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 46 out of 49 API elements (93.9 %) have documentation comments.
Support multiple platforms
10 / 20

10/20 points: Supports 1 of 2 possible platforms (native, js)

Consider supporting multiple platforms:

Package not compatible with runtime js

Because:

  • package:process/process.dart that imports:
  • package:process/src/interface/process_wrapper.dart that imports:
  • dart:io
Pass static analysis
20 / 30

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

Found 104 issues. Showing the first 2:

INFO: Avoid const keyword.

lib/src/interface/common.dart:10:44

   ╷
10 │   const Map<String, String> _osToPathStyle = const <String, String>{
   │ ┌────────────────────────────────────────────^
11 │ │   'linux': 'posix',
12 │ │   'macos': 'posix',
13 │ │   'android': 'posix',
14 │ │   'ios': 'posix',
15 │ │   'fuchsia': 'posix',
16 │ │   'windows': 'windows',
17 │ │ };
   │ └─^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/interface/common.dart

INFO: Use `=` to separate a named parameter from its default value.

lib/src/interface/common.dart:54:20

   ╷
54 │   Platform platform: const LocalPlatform(),
   │                    ^
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/interface/common.dart

Support up-to-date dependencies
20 / 20

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

PackageConstraintCompatibleLatest
file^5.0.05.2.15.2.1
intl>=0.14.0 <0.17.00.16.10.16.1
meta^1.1.21.2.31.2.3
path^1.5.11.7.01.7.0
platform>=1.0.12.2.12.2.1

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

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