jnigen 0.14.0 copy "jnigen: ^0.14.0" to clipboard
jnigen: ^0.14.0 copied to clipboard

A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine.

93
likes
150/ 160
pub points
2.48k
downloads

We analyzed this package 47 hours ago, and awarded it 150 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/dart-lang/native/issues?q=is%3Aissue+is%3Aopen+label%3Apackage%3Ajnigen was unreachable. Make sure that the website is reachable via HEAD requests.

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: BSD-3-Clause.

Partially passed report section
Provide documentation
10 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

91 out of 456 API elements (20.0 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: jnigen.Annotated, jnigen.Annotated.annotations, jnigen.Annotated.hasNonNull, jnigen.Annotated.hasNullabilityAnnotations, jnigen.Annotated.hasNullable.

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:jnigen/jnigen.dart that imports:
  • package:jnigen/src/generate_bindings.dart that imports:
  • package:jnigen/src/tools/tools.dart that imports:
  • package:jnigen/src/tools/maven_tools.dart that imports:
  • package:jnigen/src/logging/logging.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:jnigen/jnigen.dart that imports:
  • package:jnigen/src/generate_bindings.dart that imports:
  • package:jnigen/src/tools/tools.dart that imports:
  • package:jnigen/src/tools/maven_tools.dart that imports:
  • package:jnigen/src/logging/logging.dart that imports:
  • dart:io

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.

Passed report section
Pass static analysis
50 / 50trigger folding of the section

Passed check 50/50 points: code has no errors, warnings, lints, or formatting issues

Passed report section
Support up-to-date dependencies
40 / 40trigger folding of the section

Passed check 10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
args ^2.5.0 2.6.0 2.6.0
cli_config >=0.1.0 <0.3.0 0.2.0 0.2.0
json_annotation ^4.9.0 4.9.0 4.9.0
logging ^1.2.0 1.3.0 1.3.0
meta ^1.15.0 1.16.0 1.16.0
package_config ^2.1.0 2.1.1 2.1.1
path ^1.9.0 1.9.1 1.9.1
pub_semver ^2.1.4 2.1.5 2.1.5
yaml ^3.1.2 3.1.3 3.1.3
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
source_span - 1.10.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

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.18, Dart 3.7.0.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
May 16Jun 13Jul 11Aug 8Sep 5Oct 3Oct 31Nov 28Dec 26Jan 2302004006008001k1.2k>=0.0.0-0 <1.0.0
93
likes
150
points
2.48k
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

2024.08.01 - 2025.02.13

A Dart bindings generator for Java and Kotlin that uses JNI under the hood to interop with Java virtual machine.

Repository (GitHub)
View/report issues
Contributing

Topics

#interop #ffi #codegen #java #jni

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

args, cli_config, json_annotation, logging, meta, package_config, path, pub_semver, yaml

More

Packages that depend on jnigen