mhu_dart_model 1.0.2 copy "mhu_dart_model: ^1.0.2" to clipboard
mhu_dart_model: ^1.0.2 copied to clipboard

Common models

0
likes
120/ 160
pub points
142
downloads

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

failed
Follow Dart file conventions
20 / 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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
10 / 20trigger folding of the section

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

1059 out of 2836 API elements (37.3 %) have documentation comments.

Some symbols that are missing documentation: mhu_dart_model, mhu_dart_model.$CmnExpressionMsg_Type$$Ext, mhu_dart_model.$CmnExpressionMsg_Type$$Ext.type, mhu_dart_model.$CmnFieldValueMsg_Type$$Ext, mhu_dart_model.$CmnFieldValueMsg_Type$$Ext.type.

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:mhu_dart_model/mhu_dart_model.dart that imports:
  • package:mhu_dart_model/proto.dart that imports:
  • package:mhu_dart_model/src/generated/mhu_dart_model.pbfield.dart that imports:
  • package:mhu_dart_commons/commons.dart that imports:
  • package:mhu_dart_commons/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/file_output_stub.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:mhu_dart_model/mhu_dart_model.dart that imports:
  • package:mhu_dart_model/proto.dart that imports:
  • package:mhu_dart_model/src/generated/mhu_dart_model.pbfield.dart that imports:
  • package:mhu_dart_commons/commons.dart that imports:
  • package:mhu_dart_commons/src/logger.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 6 issues. Showing the first 2:

/tmp/pana_DNJCYS/lib/mhu_dart_model.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_DNJCYS/lib/proto.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
fast_immutable_collections ^9.1.5 9.2.1 11.0.0
fixnum ^1.1.0 1.1.1 1.1.1
mhu_dart_commons ^1.0.8 1.0.9 1.0.9
mhu_dart_proto ^1.0.2 1.0.3 1.0.3
protobuf ^3.0.0 3.1.0 3.1.0
Transitive dependencies
Package Constraint Compatible Latest
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
cross_file - 0.3.4+2 0.3.4+2
decimal - 2.3.3 3.1.0
ffi - 2.1.3 2.1.3
freezed_annotation - 2.4.4 2.4.4
intl - 0.18.1 0.20.1
isar - 3.1.0+1 3.1.0+1
js - 0.6.7 0.7.1
json_annotation - 4.9.0 4.9.0
logger - 1.4.0 2.5.0
meta - 1.16.0 1.16.0
path - 1.9.1 1.9.1
rational - 2.2.3 2.2.3
recase - 4.1.0 4.1.0
rxdart - 0.27.7 0.28.0
timeago - 3.7.0 3.7.0
web - 1.1.0 1.1.0

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

The constraint `^9.1.5` on fast_immutable_collections does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions fast_immutable_collections 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.