florafi 0.6.0 copy "florafi: ^0.6.0" to clipboard
florafi: ^0.6.0 copied to clipboard

Florafy client library

100/ 160
pub points
17
downloads

We analyzed this package 33 hours ago, and awarded it 100 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-3-Clause.

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

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

OUT: Documenting florafi... Discovering libraries... Linking elements... Precaching local docs for 170062 elements... Initialized dartdoc with 277 libraries Generating docs for library extensions.dart from package:florafi/extensions.dart... Generating docs for library florafi.dart from package:florafi/florafi.dart... Documented 2 public libraries in 28.4 seconds ERR: warning: florafi has no library level documentation comments from florafi: (file:///tmp/pana_XAREHJ/lib/extensions.dart:1:1) error: file already written at "florafi/index.html" for symbol florafi: (file:///tmp/pana_XAREHJ/lib/florafi.dart:1:1) conflicting with file already generated by florafi: (file:///tmp/pana_XAREHJ/lib/extensions.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'florafi' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library name, or class name (if appropriate) of one of the conflicting items can resolve the conflict. Alternatively, use the @nodoc directive in one symbol's [14 more lines]

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:florafi/florafi.dart that imports:
  • package:florafi/src/mqtt_communicator.dart that imports:
  • package:mqtt_client/mqtt_server_client.dart that imports:
  • dart:io
Failed report section
Pass static analysis
30 / 50trigger folding of the section

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

Found 4 issues. Showing the first 2:

WARNING: The exception variable 'e' isn't used, so the 'catch' clause can be removed.

lib/src/mqtt_communicator.dart:102:37

    ╷
102 │         } on FormatException catch (e) {
    │                                     ^
    ╵

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

INFO: Missing type annotation.

lib/src/cloud.dart:286:29

    ╷
286 │   Future<String> fluxQuery({farmId = 0, required String raw}) async {
    │                             ^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/src/cloud.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
async ^2.8.2 2.13.0 2.13.0
clock ^1.1.0 1.1.2 1.1.2
http ^0.13.4 0.13.6 1.6.0
logging ^1.0.2 1.3.0 1.3.0
mqtt_client ^9.6.5 9.8.1 10.11.5
Transitive dependencies
Package Constraint Compatible Latest Notes
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
event_bus - 2.0.1 2.0.1
http_parser - 4.1.2 4.1.2
meta - 1.17.0 1.17.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

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

The constraint `^0.13.4` on http does not support the stable version `1.0.0`.

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

The constraint `^9.6.5` on mqtt_client does not support the stable version `10.0.0`.

Try running dart pub upgrade --major-versions mqtt_client 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.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
100
points
17
downloads

Publisher

unverified uploader

Weekly Downloads

Florafy client library

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

async, clock, http, logging, mqtt_client

More

Packages that depend on florafi