growerp_models 1.6.2 copy "growerp_models: ^1.6.2" to clipboard
growerp_models: ^1.6.2 copied to clipboard

GrowERP models and Moqui backend REST interface

1
likes
90/ 160
pub points
1.3k
downloads

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

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

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

5/5 points: Provide a valid CHANGELOG.md

0/10 points: Use an OSI-approved license

No license was recognized.

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

failed
Provide documentation
0 / 20trigger folding of the section

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

149 out of 893 API elements (16.7 %) 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: growerp_models, growerp_models.AccountClass, growerp_models.AccountClass.AccountClass, growerp_models.AccountClass.AccountClass.fromJson, growerp_models.AccountClass.classId.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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 not compatible with platform Web

Because:

  • package:growerp_models/growerp_models.dart that imports:
  • package:growerp_models/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:growerp_models/growerp_models.dart that imports:
  • package:growerp_models/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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 5 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/get_dio_error.dart:35:5

   ╷
35 │     default:
   │     ^^^^^^^
   ╵

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

WARNING: The diagnostic 'invalid_annotation_target' doesn't need to be ignored here because it's already being ignored.

lib/src/models/findoc_model.freezed.dart:37:54

   ╷
37 │       throw _privateConstructorUsedError; // ignore: invalid_annotation_target
   │                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

OK
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
dcli ^6.0.4 6.1.0 6.1.0
decimal ^2.3.3 2.3.3 3.1.0
dio ^5.4.3 5.7.0 5.7.0
dio_cache_interceptor ^3.5.0 3.5.1 3.5.1
dio_cache_interceptor_hive_store ^3.2.2 3.2.2 4.0.0
equatable ^2.0.5 2.0.7 2.0.7
fast_csv ^0.2.6 0.2.11 0.2.11
freezed_annotation ^2.4.1 2.4.4 2.4.4
hive ^2.2.3 2.2.3 2.2.3
json_annotation ^4.9.0 4.9.0 4.9.0
logger ^2.0.2+1 2.5.0 2.5.0
path_provider ^2.1.1 2.1.5 2.1.5
pretty_dio_logger ^1.3.1 1.4.0 1.4.0
retrofit ^4.3.0 4.4.1 4.4.1
universal_io ^2.2.2 2.2.2 2.2.2
Transitive dependencies
Package Constraint Compatible Latest
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
characters - 1.3.0 1.4.0
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.12.0 0.12.0
clock - 1.1.2 1.1.2
collection - 1.19.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
csv - 6.0.0 6.0.0
dart_console - 4.1.1 4.1.1
dcli_common - 6.1.0 6.1.0
dcli_core - 6.1.0 6.1.0
dcli_terminal - 6.1.0 6.1.0
dio_web_adapter - 2.0.0 2.0.0
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
fixnum - 1.1.1 1.1.1
flutter - 0.0.0 0.0.0
functional_data - 1.2.0 1.2.0
glob - 2.1.2 2.1.2
globbing - 1.0.0 1.0.0
http_parser - 4.1.1 4.1.1
ini - 2.1.0 2.1.0
intl - 0.19.0 0.20.1
json2yaml - 3.0.1 3.0.1
lists - 1.0.1 1.0.1
logging - 1.3.0 1.3.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
native_synchronization_temp - 0.7.1 0.7.1
path - 1.9.1 1.9.1
path_provider_android - 2.2.15 2.2.15
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
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
posix - 6.0.1 6.0.1
pub_semver - 2.1.5 2.1.5
pubspec_lock - 3.0.2 3.0.2
pubspec_manager - 1.0.0 1.0.0
rational - 2.2.3 2.2.3
scope - 5.1.0 5.1.0
settings_yaml - 8.2.0 8.2.0
sky_engine - 0.0.0 0.0.0
source_span - 1.10.1 1.10.1
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
string_scanner - 1.4.1 1.4.1
strings - 3.1.2 3.1.2
sum_types - 0.3.5 0.4.0
system_info2 - 4.0.0 4.0.0
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
unicode - 0.3.1 0.3.1
uuid - 4.5.1 4.5.1
validators2 - 5.0.0 5.0.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
win32 - 5.9.0 5.9.0
xdg_directories - 1.1.0 1.1.0
yaml - 3.1.3 3.1.3

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

The constraint `^2.3.3` on decimal does not support the stable version `3.0.0`.

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

The constraint `^3.2.2` on dio_cache_interceptor_hive_store does not support the stable version `4.0.0`, that was published 18 days ago.

When dio_cache_interceptor_hive_store is 30 days old, this package will no longer be awarded points in this category.

Try running dart pub upgrade --major-versions dio_cache_interceptor_hive_store 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.17, Dart 3.6.0.

Check the analysis log for details.