carbon_aware_sdk 1.0.0+1 carbon_aware_sdk: ^1.0.0+1 copied to clipboard
A generated Dart SDK for the Carbon Aware SDK, from the Green Software Foundation.
We analyzed this package 9 days ago, and awarded it 130 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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 carbon_aware_sdk... Discovering libraries... Linking elements... Precaching local docs for 161426 elements... Initialized dartdoc with 250 libraries Generating docs for library generated/api.dart from package:carbon_aware_sdk/generated/api.dart... Generating docs for library carbon_aware_sdk.dart from package:carbon_aware_sdk/carbon_aware_sdk.dart... Documented 2 public libraries in 39.4 seconds ERR: warning: unresolved doc reference [start...end] from package-carbon_aware_sdk: file:///tmp/pana_YJISMU warning: carbon_aware_sdk has no library level documentation comments from carbon_aware_sdk: (file:///tmp/pana_YJISMU/lib/generated/api.dart:11:9) warning: unresolved doc reference [start...end] from carbon_aware_sdk.CarbonAwareApi.batchForecastDataAsync: (file:///tmp/pana_YJISMU/lib/generated/api/carbon_aware_api.dart:68:39) warning: unresolved doc reference [start...end] from carbon_aware_sdk.CarbonAwareApi.batchForecastDataAsyncWithHttpInfo: (file:///tmp/pana_YJISMU/lib/generated/api/carbon_aware_api.dart:29:20) warning: unresolved doc reference [Optional] from carbon_aware_sdk.CarbonAwareApi.getBestEmissionsDataForLocationsByTime: (file:///tmp/pana_YJISMU/lib/generated/api/carbon_aware_api.dart:313:32) [29 more lines]
10/10 points: Package has an example
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:carbon_aware_sdk/carbon_aware_sdk.dart
that imports:package:carbon_aware_sdk/generated/api.dart
that imports:dart:io
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:carbon_aware_sdk/carbon_aware_sdk.dart
that imports:package:carbon_aware_sdk/generated/api.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.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 17 issues. Showing the first 2:
INFO: Dangling library doc comment.
lib/carbon_aware_sdk.dart:1:1
╷
1 │ /// A generated Dart SDK for the Carbon Aware SDK, from the
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/carbon_aware_sdk.dart
INFO: The part-of directive uses a library name.
lib/generated/api/carbon_aware_api.dart:11:1
╷
11 │ part of carbon_aware_sdk;
│ ^^^^^^^^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/generated/api/carbon_aware_api.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
http |
>=0.13.0 <0.14.0 |
0.13.6 | 1.2.2 |
intl |
^0.17.0 |
0.17.0 | 0.19.0 |
meta |
^1.1.8 |
1.16.0 | 1.16.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
async |
- | 2.12.0 | 2.12.0 |
clock |
- | 1.1.2 | 1.1.2 |
collection |
- | 1.19.1 | 1.19.1 |
http_parser |
- | 4.1.1 | 4.1.1 |
path |
- | 1.9.1 | 1.9.1 |
source_span |
- | 1.10.0 | 1.10.0 |
string_scanner |
- | 1.4.0 | 1.4.0 |
term_glyph |
- | 1.2.1 | 1.2.1 |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `>=0.13.0 <0.14.0` on http does not support the stable version `1.0.0`.
Try running dart pub upgrade --major-versions http
to update the constraint.
The constraint `^0.17.0` on intl does not support the stable version `0.18.0`.
Try running dart pub upgrade --major-versions intl
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.15
, Dart 3.5.4
.
Check the analysis log for details.