dimax 1.0.0
dimax: ^1.0.0 copied to clipboard
DIM Application eXtensions
We analyzed this package 2 days ago, and awarded it 40 pub points (of a possible 160):
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 50 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.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting dimax... Discovering libraries... Linking elements... Precaching local docs for 163991 elements... Initialized dartdoc with 146 libraries Generating docs for library mkm.dart from package:dimax/mkm.dart... Generating docs for library protocol.dart from package:dimax/protocol.dart... Generating docs for library ext.dart from package:dimax/ext.dart... Generating docs for library dkd.dart from package:dimax/dkd.dart... Generating docs for library dimax.dart from package:dimax/dimax.dart... [1 more lines] ERR: warning: ambiguous reexport of btc.BTCAddress, canonicalization candidates: (dimax, dimax) -> dimax (confidence 0.000) from btc.BTCAddress: (file:///tmp/pana_OEHEDM/lib/src/mkm/btc.dart:50:13) dimax: 2.178 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) dimax: 2.178 - (_Reason.samePackage (+1.000), _Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.1667), _Reason.locationPartStart (+0.001000)) Use {@canonicalFor btc.BTCAddress} in the desired library's documentation to resolve the ambiguity and/or override dartdoc's decision, or structure your package so the reexport is less ambiguous. The symbol will still be referenced in all candidates -- this only controls the location where it will be written and which library will be displayed in navigation for the relevant pages. The flag [358 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 134 issues. Showing the first 2:
ERROR: Missing concrete implementations of 'Map.[]', 'Map.[]=', 'Map.addAll', 'Map.addEntries', and 32 more.
lib/src/dkd/assets.dart:39:7
╷
39 │ class BaseMoneyContent extends BaseContent implements MoneyContent {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/dkd/assets.dart
ERROR: Classes can only extend other classes.
lib/src/dkd/assets.dart:39:32
╷
39 │ class BaseMoneyContent extends BaseContent implements MoneyContent {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/dkd/assets.dart
10/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
dimp |
^2.3.6 |
2.5.0 | 2.5.0 | |
dkd |
^2.4.1 |
2.5.0 | 2.5.0 | |
mkm |
^2.4.2 |
2.5.0 | 2.5.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
10/10 points: Package supports latest stable Dart and Flutter SDKs
0/20 points: Compatible with dependency constraint lower bounds
downgrade analysis failed failed with 6 errors:
INVALID_OVERRIDE-lib/src/dkd/files.dart:57:18- 'BaseFileContent.toMap' ('MutableMapping<dynamic, dynamic> Function()') isn't a valid override of 'Dictionary.toMap' ('MutableMapping<String, dynamic> Function()').INVALID_OVERRIDE-lib/src/dkd/files.dart:57:18- 'BaseFileContent.toMap' ('MutableMapping<dynamic, dynamic> Function()') isn't a valid override of 'Mapper.toMap' ('MutableMapping<String, dynamic> Function()').INVALID_OVERRIDE-lib/src/dkd/files.dart:117:18- 'ImageFileContent.toMap' ('MutableMapping<dynamic, dynamic> Function()') isn't a valid override of 'Mapper.toMap' ('MutableMapping<String, dynamic> Function()').
Run dart pub downgrade and then dart analyze to reproduce the above problem.
You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.
Analyzed with Pana 0.23.19, Dart 3.13.1.
Check the analysis log for details.