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 [...]

130/ 160
pub points
18
downloads

We analyzed this package 13 days ago, and awarded it 130 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 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.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 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 report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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.

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

Passed check 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.

Weekly downloads

Display as:
By versions:
10
likes
130
points
18
downloads

Publisher

unverified uploader

Weekly Downloads

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