carbon_aware_sdk 1.0.0+1 copy "carbon_aware_sdk: ^1.0.0+1" to clipboard
carbon_aware_sdk: ^1.0.0+1 copied to clipboard

A generated Dart SDK for the Carbon Aware SDK, from the Green Software Foundation.

0
likes
130/ 160
pub points
26
downloads

We analyzed this package 29 hours ago, and awarded it 130 pub points (of a possible 160):

OK
Follow Dart file conventions
30 / 30trigger folding of the section

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.

failed
Provide documentation
10 / 20trigger folding of the section

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 160467 elements... Initialized dartdoc with 251 libraries Generating docs for library carbon_aware_sdk.dart from package:carbon_aware_sdk/carbon_aware_sdk.dart... Generating docs for library generated/api.dart from package:carbon_aware_sdk/generated/api.dart... Documented 2 public libraries in 32.2 seconds ERR: warning: unresolved doc reference [start...end] from package-carbon_aware_sdk: file:///tmp/pana_ULGDNI warning: carbon_aware_sdk has no library level documentation comments from carbon_aware_sdk: (file:///tmp/pana_ULGDNI/lib/generated/api.dart:11:9) error: file already written at "carbon_aware_sdk/index.html" for symbol carbon_aware_sdk: (file:///tmp/pana_ULGDNI/lib/generated/api.dart:11:9) conflicting with file already generated by carbon_aware_sdk: (file:///tmp/pana_ULGDNI/lib/carbon_aware_sdk.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'carbon_aware_sdk' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, [32 more lines]

10/10 points: Package has 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: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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

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
http >=0.13.0 <0.14.0 0.13.6 1.2.2
intl ^0.17.0 0.17.0 0.20.1
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.1 1.10.1
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
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.17, Dart 3.6.0.

Check the analysis log for details.

0
likes
130
points
26
downloads

Publisher

verified publishermarkvideon.dev

Weekly Downloads

A generated Dart SDK for the Carbon Aware SDK, from the Green Software Foundation.

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

http, intl, meta

More

Packages that depend on carbon_aware_sdk