jpl_dynamic_service 1.0.2+13 copy "jpl_dynamic_service: ^1.0.2+13" to clipboard
jpl_dynamic_service: ^1.0.2+13 copied to clipboard

A Dart based service for handling dynamic requests and responses

120/ 160
pub points
1
downloads

We analyzed this package 2 days ago, and awarded it 120 pub points (of a possible 160):

Partially passed report section
Follow Dart file conventions
30 / 30trigger folding of the section

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Repository URL doesn't exist.

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

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
0 / 20trigger folding of the section

Partially passed check 0/10 points: 20% or more of the public API has dartdoc comments

13 out of 246 API elements (5.3 %) have documentation comments.

Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.

To highlight public API members missing documentation consider enabling the public_member_api_docs lint.

Some symbols that are missing documentation: jpl_dynamic_service, jpl_dynamic_service.AlwaysCriteriaEvaluator, jpl_dynamic_service.AlwaysCriteriaEvaluator.AlwaysCriteriaEvaluator.new, jpl_dynamic_service.AlwaysCriteriaEvaluator.evaluate, jpl_dynamic_service.AlwaysCriteriaEvaluator.kType.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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:jpl_dynamic_service/jpl_dynamic_service.dart that imports:
  • package:jpl_dynamic_service/src/writer/file_writer.dart that imports:
  • dart:io
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 23 issues. Showing the first 2:

INFO: Function literals shouldn't be passed to 'forEach'.

lib/src/evaluator/default_criteria_evaluator.dart:58:21

   ╷
58 │         pathMatches.forEach((match) {
   │                     ^^^^^^^
   ╵

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

INFO: Use a function declaration rather than a variable assignment to bind a function to a name.

lib/src/evaluator/default_criteria_evaluator.dart:99:13

    ╷
99  │         final evaluate = (test, {canonicalize = false}) {
    │ ┌─────────────^
100 │ │         var conditionMatch = true;
101 │ │ 
102 │ │         if (test != null) {
103 │ │           if (test is Iterable) {
104 │ │             for (var e in test) {
105 │ │               final input = Template(
106 │ │                 syntax: registry.templateSyntax,
107 │ │                 value: e,
108 │ │               ).process(context: variables);
109 │ │               final result = JsonClass.parseBool(input);
110 │ │ 
111 │ │               if (!result) {
112 │ │                 _logger.finest({
113 │ │                   'message':
114 │ │                       '[id: ${entry.id}]: condition does not match -- [${input}] != [${result}]',
    │ └─────────────────────────────^
    ╵

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

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
collection ^1.16.0 1.19.1 1.19.1
crypto ^3.0.1 3.0.7 3.0.7
encrypt ^5.0.3 5.0.3 5.0.3
http ^1.1.2 1.6.0 1.6.0
intl ^0.18.1 0.18.1 0.20.3
jose ^0.3.4 0.3.5+2 0.3.5+2
jpl_json_class ^3.0.1 3.0.2 3.0.2
jpl_json_schema2 ^5.1.3 5.1.4 5.1.4
jpl_rest_client ^2.4.0 2.4.0 2.4.0
jpl_template_expressions ^3.3.1 3.3.1+2 3.3.1+2
jpl_yaon ^1.1.4 1.1.4+11 1.1.4+11
json_path ^0.6.6 0.6.6 0.9.0
latlong2 ^0.9.0 0.9.1 0.10.1
logging ^1.2.0 1.3.0 1.3.0
meta ^1.9.1 1.19.0 1.19.0
mime ^1.0.4 1.0.6 2.1.0
shelf ^1.4.1 1.4.2 1.4.2
uuid ^4.2.1 4.6.0 4.6.0
x509 ^0.2.4 0.2.4+3 0.2.4+3
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.3.0 4.3.0
args - 2.7.0 2.7.0
asn1lib - 1.6.5 1.6.5
async - 2.13.1 2.13.1
boolean_selector - 2.1.2 2.1.2
clock - 1.1.3 1.1.3
convert - 3.1.2 3.1.2
crypto_keys - 0.3.0+1 0.3.1
fake_async - 1.3.3 1.3.3
ffi - 2.2.0 2.2.0
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
iregexp - 0.1.2 0.2.0
js - 0.7.2 0.7.2 Discontinued
matcher - 0.12.20 0.12.20
maybe_just_nothing - 0.5.3 0.6.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 7.0.2
pointycastle - 3.9.1 4.0.0
posix - 6.5.2 6.5.2
quiver - 3.2.2 3.2.2
rfc_6901 - 0.2.1 0.2.1
rxdart - 0.28.0 0.28.0
source_span - 1.10.2 1.10.2
stack_trace - 1.12.2 1.12.2
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
test_api - 0.7.14 0.7.14
typed_data - 1.4.0 1.4.0
uri - 1.0.0 1.0.0
web - 1.1.1 1.1.1
yaml - 3.1.4 3.1.4

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

Found 4 issues. Showing the first 2:

The constraint `^0.18.1` on intl does not support the stable version `0.19.0`.

Try running dart pub upgrade --major-versions intl to update the constraint.

The constraint `^0.6.6` on json_path does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions json_path to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
1
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A Dart based service for handling dynamic requests and responses

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

collection, crypto, encrypt, http, intl, jose, jpl_json_class, jpl_json_schema2, jpl_rest_client, jpl_template_expressions, jpl_yaon, json_path, latlong2, logging, meta, mime, shelf, uuid, x509

More

Packages that depend on jpl_dynamic_service