libssh_binding 1.0.0 copy "libssh_binding: ^1.0.0" to clipboard
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 [...]

10
likes
110/ 140
pub points
32%
popularity

We analyzed this package 14 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

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

237 out of 1048 API elements (22.6 %) have documentation comments.

Some symbols that are missing documentation: libssh_binding, libssh_binding.BaseSshExtension, libssh_binding.DEFFILEMODE, libssh_binding.DirectoryItem, libssh_binding.DirectoryItem.DirectoryItem.

10/10 points: Package has an example

OK
Platform support
20 / 20trigger folding of the section

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.dart that imports:
  • package:libssh_binding/src/libssh_wrapper.dart that imports:
  • package:libssh_binding/src/sftp_binding.dart that imports:
  • package:libssh_binding/src/libssh_binding.dart that imports:
  • package:libssh_binding/src/callbacks.dart that imports:
  • dart:ffi
partial
Pass static analysis
40 / 50trigger folding of the section

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

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
ffi ^1.1.2 1.2.1 2.1.2
path ^1.8.0 1.9.0 1.9.0

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

Analyzed with Pana 0.22.3, Dart 3.4.0.

Check the analysis log for details.

10
likes
110
pub points
32%
popularity

Publisher

unverified uploader

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 programs, transfer files, use a secure and transparent tunnel https://www.libssh.org

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

ffi, path

More

Packages that depend on libssh_binding