jm_dict 0.2.0 copy "jm_dict: ^0.2.0" to clipboard
jm_dict: ^0.2.0 copied to clipboard

Implementation of the Open Source JMdict Japanese Dictionary Project as a Flutter plugin.

5
likes
120/ 160
pub points
46
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

Failed check 0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 7 links are insecure.

README.md:3:26

  ╷
3 │ <p>Implementation of the <a href="http://www.edrdg.org/wiki/index.php/JMdict-EDICT_Dictionary_Project">JMdict Japanese Dictionary Project</a> as a Flutter plugin.</p>
  │                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

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

Partially passed check 5/10 points: Use an OSI-approved license

Detected license: CC-BY-NC-SA-3.0.

The following license are not OSI-approved: `CC-BY-NC-SA-3.0`.

Consider using an OSI-approved license in the LICENSE file to make it more accessible to the community.

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

60 out of 78 API elements (76.9 %) have documentation comments.

Some symbols that are missing documentation: jm_dict, jm_dict.GlossaryType, jm_dict.JMDict, jm_dict.JMDict.JMDict.new, jm_dict.JMDict.isNotEmpty.

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 does not support platform `Web`.

Because:

  • package:jm_dict/jm_dict.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:jm_dict/jm_dict.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 37 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'Map

lib/src/entities.dart:54:33

   ╷
54 │   static Map<int, Set<String>>? _parseMultiValue(String? data,) {
   │                                 ^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities.dart

WARNING: This function has a nullable return type of 'JMDictEntryImpl?', but ends without returning a value.

lib/src/entities.dart:214:27

    ╷
214 │   static JMDictEntryImpl? map(Map<String, dynamic>? map,) {
    │                           ^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/entities.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
archive ^3.3.1 3.6.1 4.0.7
flat_buffers ^2.0.5 2.0.5 23.5.26
kana_kit ^2.0.0 2.1.1 2.1.1
objectbox ^1.6.2 1.7.2 4.3.0
objectbox_flutter_libs ^1.6.2 1.7.2 4.3.0
path_provider ^2.0.11 2.1.5 2.1.5
platform ^3.1.0 3.1.6 3.1.6
xml ^6.1.0 6.5.0 6.6.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
boolean_selector - 2.1.2 2.1.2
characters - 1.4.0 1.4.1
checks - 0.3.1 0.3.1
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.17 2.2.17
path_provider_foundation - 2.4.1 2.4.1
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
petitparser - 6.1.0 7.0.0
plugin_platform_interface - 2.1.8 2.1.8
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.6 0.7.6
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
xdg_directories - 1.1.0 1.1.0

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

Found 4 issues. Showing the first 2:

The constraint `^3.3.1` on archive does not support the stable version `4.0.0`.

Try running dart pub upgrade --major-versions archive to update the constraint.

The constraint `^2.0.5` on flat_buffers does not support the stable version `23.5.26`.

Try running dart pub upgrade --major-versions flat_buffers 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
5
likes
120
points
46
downloads

Publisher

unverified uploader

Weekly Downloads

Implementation of the Open Source JMdict Japanese Dictionary Project as a Flutter plugin.

Repository (GitHub)

Documentation

API reference

License

CC-BY-NC-SA-3.0 (license)

Dependencies

archive, flat_buffers, flutter, kana_kit, objectbox, objectbox_flutter_libs, path_provider, platform, xml

More

Packages that depend on jm_dict