posix 2.2.3 posix: ^2.2.3 copied to clipboard
Exposes the POSIX api on OSx and Linux
We analyzed this package 15 hours ago, and awarded it 60 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too short.
Add more detail to the description
field of pubspec.yaml
. Use 60 to 180 characters to describe the package, what it does, and its target use case.
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: posix
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
pubspec.yaml
from the repository URL mismatch: expected https://github.com/bsutton/dart_posix
but got https://github.com/onepub-dev/dart_posix
.
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: MIT
.
10/10 points: 20% or more of the public API has dartdoc comments
176 out of 426 API elements (41.3 %) have documentation comments.
Some symbols that are missing documentation: posix
, posix.ArrayHelper___locale_struct___locales_level0.dimensions
, posix.ArrayHelper___locale_struct___locales_level0.length
, posix.ArrayHelper___locale_struct___locales_level0.level
, posix.ArrayHelper___locale_struct___locales_level0.operator []
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package not compatible with platform Web
Because:
package:posix/posix.dart
that imports:package:posix/src/libc.dart
that imports:dart:io
0/0 points: WASM compatibility
Unable to detect compatibility with runtime wasm
, and this package will not be rewarded full points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 10651 issues. Showing the first 2:
ERROR: Fields in struct classes can't have the type 'ffi.Pointer
lib/src/grp.dart:296:12
╷
296 │ external ffi.Pointer<ffi.Int8>? gr_name;
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/grp.dart
ERROR: Fields in struct classes can't have the type 'ffi.Pointer
lib/src/grp.dart:299:12
╷
299 │ external ffi.Pointer<ffi.Int8>? gr_passwd;
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/grp.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
ffi |
^1.0.0 |
1.2.1 | 2.1.3 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^1.0.0` 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
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 37 errors:
INVALID_FIELD_TYPE_IN_STRUCT
-lib/src/grp.dart:296:12
- Fields in struct classes can't have the type 'ffi.Pointer<ffi.Int8>?'. They can only be declared as 'int', 'double', 'Array', 'Pointer', or subtype of 'Struct' or 'Union'.INVALID_FIELD_TYPE_IN_STRUCT
-lib/src/grp.dart:299:12
- Fields in struct classes can't have the type 'ffi.Pointer<ffi.Int8>?'. They can only be declared as 'int', 'double', 'Array', 'Pointer', or subtype of 'Struct' or 'Union'.INVALID_FIELD_TYPE_IN_STRUCT
-lib/src/grp.dart:303:12
- Fields in struct classes can't have the type 'int?'. They can only be declared as 'int', 'double', 'Array', 'Pointer', or subtype of 'Struct' or 'Union'.
Run dart pub downgrade
and then dart analyze
to reproduce the above problem.
You may run dart pub upgrade --tighten
to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.22.13
, Dart 3.5.3
.
Check the analysis log for details.