singleton_macro 0.0.3-dev.1
singleton_macro: ^0.0.3-dev.1 copied to clipboard
A Dart package that provides a `Singleton` macro to transform classes into singletons automatically.
We analyzed this package 4 days ago, and awarded it 140 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Unknown SDKs in `pubspec.yaml`.
The following unknown SDKs are in pubspec.yaml
:
{dart}
.
pana
doesn’t recognize them; please remove the sdk
entry.
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
.
10/10 points: 20% or more of the public API has dartdoc comments
1 out of 3 API elements (33.3 %) have documentation comments.
Some symbols that are missing documentation: singleton_macro
, singleton_macro.Singleton.buildDeclarationsForClass
.
10/10 points: Package has an example and has no issues with screenshots
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
This package is compatible with runtime wasm
, and will be rewarded additional points in a future version of the scoring model.
See https://dart.dev/web/wasm for details.
40/50 points: code has no errors, warnings, lints, or formatting issues
- Running
dart format
failed:
Formatted 2 files (0 changed) in 0.30 seconds.
Could not format because the source could not be parsed:
line 48, column 1 of ../../pana_QUESLC/lib/src/singleton_macro_base.dart: This requires the 'macros' language feature to be enabled.
╷
48 │ macro class Singleton implements ClassDeclarationsMacro {
│ ^^^^^
╵```
10/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
_macros |
dart |
0.3.3 | 0.3.3 |
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
20/20 points: Compatible with dependency constraint lower bounds
pub downgrade
does not expose any static analysis error.
Analyzed with Pana 0.22.18
, Dart 3.7.0
.
Check the analysis log for details.