redis 4.0.0 copy "redis: ^4.0.0" to clipboard
redis: ^4.0.0 copied to clipboard

Redis database (https://redis.io/) client, with both simplicity and performance as primary goals.

131
likes
125/ 160
pub points
92%
popularity

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

failed
Follow Dart file conventions
25 / 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/ra1u/redis-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 9 links are insecure.

README.md:3:4

  ╷
3 │ <p><a href="http://redis.io/">Redis</a> protocol parser and client for <a href="https://www.dartlang.org">Dart</a></p>
  │    ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

5/5 points: Provide a valid CHANGELOG.md

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

16 out of 103 API elements (15.5 %) 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: redis, redis.Cas, redis.Command, redis.Command.Command, redis.Command.Command.from.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add 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 not compatible with platform Web

Because:

  • package:redis/redis.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

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

Found 50 issues. Showing the first 2:

INFO: The part-of directive uses a library name.

lib/cas.dart:10:1

   ╷
10 │ part of redis;
   │ ^^^^^^^^^^^^^^
   ╵

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

INFO: The variable name '_completer_bool' isn't a lowerCamelCase identifier.

lib/cas.dart:14:24

   ╷
14 │   late Completer<bool> _completer_bool;
   │                        ^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/cas.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

No dependencies.

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.

131
likes
125
pub points
92%
popularity

Publisher

unverified uploader

Redis database (https://redis.io/) client, with both simplicity and performance as primary goals.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

More

Packages that depend on redis