kalil_utils 3.0.3 kalil_utils: ^3.0.3 copied to clipboard
An collection with Functional utils and some data structures
We analyzed this package 8 days ago, and awarded it 65 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:13:49
╷
13 │ <p>Please file feature requests and bugs at the <a href="http://example.com/issues/replaceme">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https
URLs instead.
5/5 points: Provide a valid CHANGELOG.md
10/10 points: Use an OSI-approved license
Detected license: BSD-3-Clause
.
0/10 points: 20% or more of the public API has dartdoc comments
OUT: Documenting kalil_utils... Discovering libraries... Linking elements... Precaching local docs for 155107 elements... Initialized dartdoc with 106 libraries Generating docs for library extensions.dart from package:kalil_utils/extensions.dart... Generating docs for library maybe.dart from package:kalil_utils/maybe.dart... Generating docs for library tuple.dart from package:kalil_utils/tuple.dart... Generating docs for library injector.dart from package:kalil_utils/injector.dart... Generating docs for library either.dart from package:kalil_utils/either.dart... [11 more lines] ERR: warning: ambiguous reexport of injector.IScopeProxy, canonicalization candidates: (kalil_utils, kalil_utils.maybe) -> kalil_utils.maybe (confidence 0.01000) from injector.IScopeProxy: (file:///tmp/pana_LATFII/lib/src/injector.dart:14:16) kalil_utils: 1.210 - (_Reason.packageName (+1.000), _Reason.longName (+0.01000), _Reason.sharedNamePart (+0.2000)) kalil_utils.maybe: 1.220 - (_Reason.packageName (+1.000), _Reason.longName (+0.02000), _Reason.sharedNamePart (+0.2000)) Use {@canonicalFor injector.IScopeProxy} 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 [238 more lines]
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
-
✓ Web
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.
0/50 points: code has no errors, warnings, lints, or formatting issues
Found 112 issues. Showing the first 2:
ERROR: Classes and mixins can only implement other classes and mixins.
lib/src/tuple.g.dart:9:38
╷
9 │ class Tuple0 with TupleN0 implements ProductType, TupleN0 {
│ ^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tuple.g.dart
ERROR: Undefined class 'ProductRuntimeType'.
lib/src/tuple.g.dart:15:3
╷
15 │ ProductRuntimeType get runtimeType => ProductRuntimeType([]);
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/tuple.g.dart
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
adt_annotation_base |
^3.0.0 |
3.1.0 | 3.1.0 |
collection |
^1.16.0 |
1.19.1 | 1.19.1 |
meta |
^1.2.4 |
1.16.0 | 1.16.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 63 errors:
IMPLEMENTS_NON_CLASS
-lib/src/tuple.g.dart:9:38
- Classes and mixins can only implement other classes and mixins.UNDEFINED_CLASS
-lib/src/tuple.g.dart:15:3
- Undefined class 'ProductRuntimeType'.UNDEFINED_METHOD
-lib/src/tuple.g.dart:15:41
- The method 'ProductRuntimeType' isn't defined for the type 'Tuple0'.
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.22.17
, Dart 3.6.0
.
Check the analysis log for details.