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

Common models

0
likes
80/ 160
pub points
142
downloads

We analyzed this package 36 hours ago, and awarded it 80 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

1028 out of 4453 API elements (23.1 %) have documentation comments.

Some symbols that are missing documentation: mhu_dart_model, mhu_dart_model.CmnBoolTypeMsg, mhu_dart_model.CmnBoolTypeMsg$, mhu_dart_model.CmnBoolTypeMsg$$, mhu_dart_model.CmnBoolTypeMsg$$.CmnBoolTypeMsg$$.

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/src/generated/mhu_dart_model.pbmeta.dart that imports:
  • package:mhu_dart_proto/mhu_dart_proto.dart that imports:
  • package:mhu_dart_proto/src/pbinfo/registry.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

Unable to detect compatibility with runtime wasm, and this package 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
0 / 50trigger folding of the section

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

Found 619 issues. Showing the first 2:

ERROR: The name 'PmMessage' isn't a type, so it can't be used as a type argument.

lib/src/generated/mhu_dart_model.pbmeta.dart:17:29

   ╷
17 │   static const messages$ = <$proto_meta.PmMessage>[
   │                             ^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/mhu_dart_model.pbmeta.dart

ERROR: The name 'PmEnum' isn't a type, so it can't be used as a type argument.

lib/src/generated/mhu_dart_model.pbmeta.dart:48:26

   ╷
48 │   static const enums$ = <$proto_meta.PmEnum>[
   │                          ^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/generated/mhu_dart_model.pbmeta.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
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.7 1.0.9 1.0.9
mhu_dart_proto ^1.0.1 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.