rikulo_commons 6.1.0 copy "rikulo_commons: ^6.1.0" to clipboard
rikulo_commons: ^6.1.0 copied to clipboard

SDKDart

Collections of common reusable classes and utilities for Dart language.

1
likes
110/ 160
pub points
71%
popularity

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

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

10/10 points: Provide a valid pubspec.yaml

Issue tracker URL doesn't exist.

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

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.

failed
Provide documentation
10 / 20trigger folding of the section

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

362 out of 409 API elements (88.5 %) have documentation comments.

Some symbols that are missing documentation: rikulo_async, rikulo_browser, rikulo_convert, rikulo_convert.PayloadException.message, rikulo_html.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

failed
Platform support
0 / 20trigger folding of the section

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

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:rikulo_commons/html.dart that imports:
  • dart:html
Package not compatible with platform iOS

Because:

  • package:rikulo_commons/html.dart that imports:
  • dart:html
Package not compatible with platform Windows

Because:

  • package:rikulo_commons/html.dart that imports:
  • dart:html
Package not compatible with platform Linux

Because:

  • package:rikulo_commons/html.dart that imports:
  • dart:html
Package not compatible with platform macOS

Because:

  • package:rikulo_commons/html.dart that imports:
  • dart:html
Package not compatible with platform Web

Because:

  • package:rikulo_commons/convert.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:rikulo_commons/convert.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.

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

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

Found 150 issues. Showing the first 2:

WARNING: This function has a nullable return type of 'ContentType?', but ends without returning a value.

lib/src/io/content_type.dart:22:14

   ╷
22 │ ContentType? getContentType(String? path,
   │              ^^^^^^^^^^^^^^
   ╵

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

WARNING: This function has a nullable return type of 'FutureOr

lib/src/util/invokes.dart:10:21

   ╷
10 │   static Future<T?> invokeSafely<T>(FutureOr<T> action()) async {
   │                     ^^^^^^^^^^^^
   ╵

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

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

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

Package Constraint Compatible Latest
charcode any 1.4.0 1.4.0
logging any 1.3.0 1.3.0
mime any 2.0.0 2.0.0

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

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.

1
likes
110
pub points
71%
popularity

Publisher

verified publisherquire.io

Collections of common reusable classes and utilities for Dart language.

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

charcode, logging, mime

More

Packages that depend on rikulo_commons