dartle_c 0.2.0 copy "dartle_c: ^0.2.0" to clipboard
dartle_c: ^0.2.0 copied to clipboard

A Dartle extension to compile code written in the C programming language.

0
likes
140/ 160
pub points
0%
popularity

We analyzed this package 4 days ago, and awarded it 140 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: Apache-2.0.

OK
Provide documentation
20 / 20trigger folding of the section

10/10 points: 20% or more of the public API has dartdoc comments

12 out of 28 API elements (42.9 %) have documentation comments.

Some symbols that are missing documentation: dartle_c.DartleCConfig, dartle_c.DartleCConfigFunctions, dartle_c.DartleCConfigFunctions.toDartleC, dartle_c.SourceDirectories, dartle_c.SourceDirectories.SourceDirectories.

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 does not support platform `Web`.

Because:

  • package:dartle_c/dartle_c.dart that imports:
  • package:dartle_c/src/config.dart that imports:
  • package:dartle/dartle.dart that imports:
  • package:dartle/src/task_run.dart that imports:
  • package:dartle/src/_actor_task.dart that imports:
  • package:actors/actors.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:dartle_c/dartle_c.dart that imports:
  • package:dartle_c/src/config.dart that imports:
  • package:dartle/dartle.dart that imports:
  • package:dartle/src/task_run.dart that imports:
  • package:dartle/src/task_invocation.dart that imports:
  • package:dartle/src/task.dart that imports:
  • package:dartle/src/run_condition.dart that imports:
  • package:dartle/src/file_collection.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

INFO: Use 'TypeName _' instead of a type literal.

lib/src/config.dart:114:11

    ╷
114 │     case (Object, Object):
    │           ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config.dart

INFO: Use 'TypeName _' instead of a type literal.

lib/src/config.dart:114:19

    ╷
114 │     case (Object, Object):
    │                   ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/config.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
dartle ^0.22.2 0.22.2 0.28.1
logging ^1.1.1 1.3.0 1.3.0
path ^1.8.0 1.9.1 1.9.1
yaml ^3.1.2 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
actors - 0.8.4 0.11.0
args - 2.6.0 2.6.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
freezed_annotation - 2.4.4 2.4.4
io - 1.0.4 1.0.4
json_annotation - 4.9.0 4.9.0
meta - 1.16.0 1.16.0
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
structured_async - 0.3.2 0.3.2
term_glyph - 1.2.1 1.2.1
test_report_parser - 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.22.2` on dartle does not support the stable version `0.23.0`.

Try running dart pub upgrade --major-versions dartle 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.

0
likes
140
pub points
0%
popularity

Publisher

unverified uploader

A Dartle extension to compile code written in the C programming language.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

dartle, logging, path, yaml

More

Packages that depend on dartle_c