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
23%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

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.

5/5 points: Provide a valid CHANGELOG.md

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

60 out of 72 API elements (83.3 %) have documentation comments.

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

10/10 points: Package has an example

failed
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 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.

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
Pass static analysis
30 / 50trigger folding of the section

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

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

Package Constraint Compatible Latest
archive ^3.3.1 3.6.1 3.6.1
flat_buffers ^2.0.5 2.0.5 23.5.26
flutter flutter 0.0.0 0.0.0
kana_kit ^2.0.0 2.1.1 2.1.1
objectbox ^1.6.2 1.7.2 4.0.3
objectbox_flutter_libs ^1.6.2 1.7.2 4.0.3
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.5.0
Transitive dependencies
Package Constraint Compatible Latest
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.3.1
checks - 0.3.0 0.3.0
collection - 1.18.0 1.19.1
crypto - 3.0.6 3.0.6
ffi - 2.1.3 2.1.3
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
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.0.2 6.0.2
plugin_platform_interface - 2.1.8 2.1.8
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
stack_trace - 1.12.0 1.12.0
stream_channel - 2.1.2 2.1.2
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
test_api - 0.7.3 0.7.3
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
xdg_directories - 1.1.0 1.1.0

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

Found 3 issues. Showing the first 2:

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.

The constraint `^1.6.2` on objectbox does not support the stable version `2.0.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.

5
likes
120
pub points
23%
popularity

Publisher

unverified uploader

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

Repository (GitHub)
View/report issues

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