lb_state_manager 1.2.0 copy "lb_state_manager: ^1.2.0" to clipboard
lb_state_manager: ^1.2.0 copied to clipboard

Logbot State Manager service to return the state of the devices and device services

120/ 160
pub points
48
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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
10 / 20trigger folding of the section

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

OUT: Documenting lb_state_manager... Discovering libraries... Linking elements... Precaching local docs for 1211626 elements... Initialized dartdoc with 1262 libraries Generating docs for library api.dart from package:lb_state_manager/api.dart... Generating docs for library lb_state_manager.dart from package:lb_state_manager/lb_state_manager.dart... Documented 2 public libraries in 54.7 seconds ERR: warning: logbot.sdk.state_manager has no library level documentation comments from logbot.sdk.state_manager: (file:///tmp/pana_DJELYL/lib/api.dart:1:1) warning: logbot.sdk.state_manager has no library level documentation comments from logbot.sdk.state_manager: (file:///tmp/pana_DJELYL/lib/lb_state_manager.dart:1:1) error: file already written at "logbot.sdk.state_manager/index.html" for symbol logbot.sdk.state_manager: (file:///tmp/pana_DJELYL/lib/lb_state_manager.dart:1:1) conflicting with file already generated by logbot.sdk.state_manager: (file:///tmp/pana_DJELYL/lib/api.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'logbot.sdk.state_manager' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the [16 more lines]

Passed check 10/10 points: Package has an example

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

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

SDK issues found:

Package is not compatible with the Dart SDK.

Because:

  • lb_state_manager that depends on:
  • lb_discovery that depends on:
  • lb_auth that depends on:
  • lb_commons that is a package requiring flutter.
  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:lb_state_manager/lb_state_manager.dart that imports:
  • package:lb_state_manager/src/logbot_state_manager_storage_service.dart that imports:
  • package:lb_state_manager/api.dart that imports:
  • package:lb_state_manager/src/logbot_state_manager_service.dart that imports:
  • package:lb_discovery/lb_discovery.dart that imports:
  • package:lb_discovery/src/utils_service.dart that imports:
  • package:lb_discovery/api.dart that imports:
  • package:lb_discovery/src/mdns_service.dart that imports:
  • package:nsd/nsd.dart that declares support for platforms: Android, iOS, Windows, macOS.
Package does not support platform `Web`.

Because:

  • package:lb_state_manager/lb_state_manager.dart that imports:
  • package:lb_state_manager/src/logbot_state_manager_storage_service.dart that imports:
  • package:lb_state_manager/api.dart that imports:
  • package:lb_state_manager/src/logbot_state_manager_service.dart that imports:
  • package:lb_discovery/lb_discovery.dart that imports:
  • package:lb_discovery/src/utils_service.dart that imports:
  • package:lb_discovery/api.dart that imports:
  • package:lb_discovery/src/mdns_service.dart that imports:
  • package:nsd/nsd.dart that declares support for platforms: Android, iOS, Windows, macOS.
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 19 issues. Showing the first 2:

WARNING: This default clause is covered by the previous cases.

lib/src/logbot_env.dart:49:7

   ╷
49 │       default:
   │       ^^^^^^^
   ╵

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

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

lib/api/health_api.dart:15:1

   ╷
15 │ part of logbot.sdk.state_manager;
   │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/api/health_api.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
http ^1.1.0 1.6.0 1.6.0
intl ^0.18.1 0.18.1 0.20.2
lb_auth ^1.1.0 1.1.0 1.1.0
lb_commons ^1.1.0 1.1.0 1.1.0
lb_core ^1.2.0 1.2.1 1.2.1
lb_discovery ^1.1.4 1.1.5 1.1.5
meta ^1.1.8 1.17.0 1.18.1
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
characters - 1.4.0 1.4.1
clock - 1.1.2 1.1.2
connectivity_plus - 2.3.9 7.0.0
connectivity_plus_linux - 1.3.1 1.3.1 Discontinued
connectivity_plus_macos - 1.2.6 1.2.6 Discontinued
connectivity_plus_platform_interface - 1.2.4 2.0.1
connectivity_plus_web - 1.2.5 1.2.5 Discontinued
connectivity_plus_windows - 1.2.2 1.2.2 Discontinued
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
dbus - 0.7.12 0.7.12
ffi - 2.2.0 2.2.0
http_parser - 4.1.2 4.1.2
js - 0.6.7 0.7.2 Discontinued
jwt_decoder - 2.0.1 2.0.1
logger - 2.6.2 2.6.2
material_color_utilities - 0.11.1 0.13.0
multicast_dns - 0.3.3 0.3.3
mutex - 3.1.0 3.1.0
nested - 1.0.0 1.0.0
nm - 0.5.0 0.5.0
nsd - 2.3.1 4.1.0
nsd_android - 1.2.2 2.2.0
nsd_ios - 1.0.3 2.0.1
nsd_macos - 1.0.3 2.0.1
nsd_platform_interface - 1.6.0 2.2.0
nsd_windows - 2.0.1 3.0.1
path - 1.9.1 1.9.1
petitparser - 7.0.2 7.0.2
plugin_platform_interface - 2.1.8 2.1.8
provider - 6.1.5+1 6.1.5+1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.2
vector_math - 2.2.0 2.2.0
web - 1.1.1 1.1.1
xml - 6.6.1 6.6.1

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

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.

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.9, Dart 3.11.0.

Check the analysis log for details.

Weekly downloads

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

Publisher

verified publisherlogbot.cloud

Weekly Downloads

Logbot State Manager service to return the state of the devices and device services

Homepage

Documentation

Documentation
API reference

License

BSD-3-Clause (license)

Dependencies

collection, http, intl, lb_auth, lb_commons, lb_core, lb_discovery, meta

More

Packages that depend on lb_state_manager