libssh_binding 1.0.0
libssh_binding: ^1.0.0 copied to clipboard
binding and high-level wrapper on top of libssh - The SSH library! libssh is a multiplatform C library implementing the SSHv2 protocol on client and server side. With libssh, you can remotely execute [...]
We analyzed this package 13 days ago, and awarded it 130 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
The package description is too long.
Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.
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
237 out of 1054 API elements (22.5 %) have documentation comments.
Some symbols that are missing documentation: libssh_binding, libssh_binding.BaseSshExtension, libssh_binding.DEFFILEMODE, libssh_binding.DirectoryItem, libssh_binding.DirectoryItem.DirectoryItem.fromMap.
10/10 points: Package has 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:libssh_binding/libssh_binding.dartthat imports:package:libssh_binding/src/libssh_wrapper.dartthat imports:package:libssh_binding/src/sftp_binding.dartthat imports:package:libssh_binding/src/libssh_binding.dartthat imports:package:libssh_binding/src/callbacks.dartthat imports:dart:ffi
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 22 issues. Showing the first 2:
INFO: Use 'isEmpty' instead of 'length' to test whether the collection is empty.
lib/src/extensions/sftp_extension.dart:193:11
╷
193 │ if (bufferDart.length <= 0) {
│ ^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/extensions/sftp_extension.dart
INFO: Statements in an if should be enclosed in a block.
lib/src/numeral_system_converter.dart:84:9
╷
84 │ result += reminder.toString();
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/numeral_system_converter.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
ffi |
^1.1.2 |
1.2.1 | 2.1.4 | |
path |
^1.8.0 |
1.9.1 | 1.9.1 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.3, Dart 3.10.4.
Check the analysis log for details.