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
130/ 160
pub points
23
downloads

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

Failed 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

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

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

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

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) {
    │           ^^^^^^^^^^^^^^^^^^^^^^
    ╵
copied to clipboard

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();
   │         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵
copied to clipboard

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.22.20, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 28Jul 26Aug 23Sep 20Oct 18Nov 15Dec 13Jan 10Feb 7Mar 7024681012>=1.0.0-0 <2.0.0
10
likes
130
points
23
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.13 - 2025.03.28

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)

Documentation

API reference

License

MIT (license)

Dependencies

ffi, path

More

Packages that depend on libssh_binding