utopia_rest 0.1.0+5 copy "utopia_rest: ^0.1.0+5" to clipboard
utopia_rest: ^0.1.0+5 copied to clipboard

Utopia USS libs - REST API support with Dio

0
likes
110/ 160
pub points
12
downloads

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

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

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

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: BSD-2-Clause.

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

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

6 out of 19 API elements (31.6 %) have documentation comments.

Some symbols that are missing documentation: utopia_rest, utopia_rest.AuthTokenInterceptor, utopia_rest.AuthTokenInterceptor.AuthTokenInterceptor.new, utopia_rest.AuthTokenInterceptor.enabled, utopia_rest.AuthTokenInterceptor.headerName.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:utopia_rest/utopia_rest.dart that imports:
  • package:utopia_rest/src/interceptor/reporter/reporter_interceptor.dart that imports:
  • package:utopia_reporter/utopia_reporter.dart that imports:
  • package:utopia_reporter/src/logger_reporter.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:utopia_rest/utopia_rest.dart that imports:
  • package:utopia_rest/src/interceptor/reporter/reporter_interceptor.dart that imports:
  • package:utopia_reporter/utopia_reporter.dart that imports:
  • package:utopia_reporter/src/logger_reporter.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.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.

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 4 issues. Showing the first 2:

/tmp/pana_GOFYYK/lib/src/interceptor/auth/auth_token_interceptor.dart doesn't match the Dart formatter.

To format your files run: dart format .

/tmp/pana_GOFYYK/lib/src/interceptor/reporter/dio_log_util.dart doesn't match the Dart formatter.

To format your files run: dart format .

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

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

Package Constraint Compatible Latest Notes
dio ^5.0.0 5.8.0+1 5.8.0+1
utopia_reporter ^0.1.0+5 0.1.0+5 0.1.0+5
utopia_utils ^0.3.3 0.3.3 0.3.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
dio_web_adapter - 2.1.1 2.1.1
http_parser - 4.1.2 4.1.2
intl - 0.20.2 0.20.2
logger - 2.5.0 2.5.0
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
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
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 1 error:

  • UNDEFINED_CLASS - lib/src/interceptor/reporter/reporter_interceptor.dart:12:16 - Undefined class 'DioException'.

Run flutter pub downgrade and then flutter 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.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
110
points
12
downloads

Publisher

verified publisherutopiasoft.io

Weekly Downloads

Utopia USS libs - REST API support with Dio

Repository (GitHub)

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

dio, flutter, utopia_reporter, utopia_utils

More

Packages that depend on utopia_rest