sip_script_runner 0.8.3 copy "sip_script_runner: ^0.8.3" to clipboard
sip_script_runner: ^0.8.3 copied to clipboard

discontinued

The core package for sip, used to parse and run project commands/scripts

1
likes
110/ 160
pub points
60
downloads

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

At the time of the analysis https://github.com/mrgnhnt96/sip/tree/main/packages/script_runner was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/mrgnhnt96/sip/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: sip_script_runner,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: sip_script_runner.

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.

OK
Provide documentation
20 / 20trigger folding of the section

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

32 out of 131 API elements (24.4 %) have documentation comments.

Some symbols that are missing documentation: bindings, bindings.Bindings.runScript, command_to_run, command_to_run.CommandToRun, command_to_run.CommandToRun.CommandToRun.

10/10 points: Package has an example

failed
Platform support
20 / 20trigger folding of the section

20/20 points: Supports 3 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Android`.

Because:

  • package:sip_script_runner/sip_script_runner.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `iOS`.

Because:

  • package:sip_script_runner/sip_script_runner.dart that declares support for platforms: Windows, Linux, macOS.
Package does not support platform `Web`.

Because:

  • package:sip_script_runner/sip_script_runner.dart that declares support for platforms: Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:sip_script_runner/sip_script_runner.dart that imports:
  • package:sip_script_runner/src/bindings/bindings_impl.dart that imports:
  • package:ffi/ffi.dart that imports:
  • package:ffi/src/utf8.dart that imports:
  • dart:ffi

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.

failed
Pass static analysis
30 / 50trigger folding of the section

30/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

WARNING: Unnecessary cast.

lib/domain/script.g.dart:32:17

   ╷
32 │       aliases: (_retrieveStrings(json, '(aliases)') as List<dynamic>?)
   │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/domain/script.g.dart

WARNING: Unnecessary cast.

lib/domain/script.g.dart:40:13

   ╷
40 │       bail: _retrieveBool(json, '(bail)') as bool? ?? false,
   │             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/domain/script.g.dart

failed
Support up-to-date dependencies
20 / 40trigger folding of the section

10/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest
autoequal >=0.9.0 <1.0.0 0.9.1 0.9.1
equatable >=2.0.0 <3.0.0 2.0.7 2.0.7
ffi >=2.0.0 <3.0.0 2.1.3 2.1.3
json_annotation >=4.0.0 <5.0.0 4.9.0 4.9.0
path >=1.8.0 <2.0.0 1.9.1 1.9.1
yaml >=3.0.0 <4.0.0 3.1.2 3.1.2
Transitive dependencies
Package Constraint Compatible Latest
collection - 1.19.1 1.19.1
meta - 1.16.0 1.16.0
source_span - 1.10.1 1.10.1
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1

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 8 errors:

  • UNDEFINED_NAMED_PARAMETER - lib/domain/script.dart:11:19 - The named parameter 'constructor' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/domain/script.dart:58:12 - The named parameter 'readValue' isn't defined.
  • UNDEFINED_NAMED_PARAMETER - lib/domain/script.dart:66:5 - The named parameter 'readValue' isn't defined.

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.

1
likes
110
points
60
downloads

Publisher

verified publishermrgnhnt.com

Weekly Downloads

The core package for sip, used to parse and run project commands/scripts

Homepage
Repository (GitHub)
View/report issues

Topics

#cli #executable #sip

Documentation

Documentation
API reference

License

MIT (license)

Dependencies

autoequal, equatable, ffi, json_annotation, path, yaml

More

Packages that depend on sip_script_runner