lb_firewall 1.0.4 copy "lb_firewall: ^1.0.4" to clipboard
lb_firewall: ^1.0.4 copied to clipboard

Logbot Firewall HTTP Service for: * Setup and gather informations about the firewall configuration * Setup and gather informations about the HTTP server configuration * Enable/Disable the firewall

110/ 160
pub points
48
downloads

We analyzed this package 39 hours 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 long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

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_firewall... Discovering libraries... Linking elements... Precaching local docs for 1237785 elements... Initialized dartdoc with 1552 libraries Generating docs for library api.dart from package:lb_firewall/api.dart... Generating docs for library lb_firewall.dart from package:lb_firewall/lb_firewall.dart... Documented 2 public libraries in 80.2 seconds ERR: warning: logbot.sdk.firewall has no library level documentation comments from logbot.sdk.firewall: (file:///tmp/pana_QVXBME/lib/api.dart:1:1) warning: logbot.sdk.firewall has no library level documentation comments from logbot.sdk.firewall: (file:///tmp/pana_QVXBME/lib/lb_firewall.dart:1:1) error: file already written at "logbot.sdk.firewall/index.html" for symbol logbot.sdk.firewall: (file:///tmp/pana_QVXBME/lib/lb_firewall.dart:1:1) conflicting with file already generated by logbot.sdk.firewall: (file:///tmp/pana_QVXBME/lib/api.dart:1:1) Dartdoc generates a path and filename to write to for each symbol. 'logbot.sdk.firewall' conflicts with another symbol in the generated path, and therefore can not be written out. Changing the name, library [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)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Linux`.

Because:

  • package:lb_firewall/lb_firewall.dart that imports:
  • package:lb_firewall/api.dart that imports:
  • 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_firewall/lb_firewall.dart that imports:
  • package:lb_firewall/api.dart that imports:
  • 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.

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

Package does not support platform `Android`.

Because:

  • package:lb_firewall/lb_firewall.dart that imports:
  • package:lb_firewall/api.dart that imports:
  • 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:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `iOS`.

Because:

  • package:lb_firewall/lb_firewall.dart that imports:
  • package:lb_firewall/api.dart that imports:
  • 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:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `Windows`.

Because:

  • package:lb_firewall/lb_firewall.dart that imports:
  • package:lb_firewall/api.dart that imports:
  • 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:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
Package does not support platform `macOS`.

Because:

  • package:lb_firewall/lb_firewall.dart that imports:
  • package:lb_firewall/api.dart that imports:
  • 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:connectivity_plus/connectivity_plus.dart that imports:
  • package:connectivity_plus/src/connectivity_plus_linux.dart that imports:
  • package:nm/nm.dart that declares support for platforms: Linux.
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 32 issues. Showing the first 2:

WARNING: The value of the local variable '_basePath' isn't used.

lib/api_client.dart:68:12

   ╷
68 │     String _basePath = basePath;
   │            ^^^^^^^^^
   ╵

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

WARNING: The operand can't be 'null', so the condition is always 'true'.

lib/api_client.dart:73:18

   ╷
73 │     if (deviceId != null) {
   │                  ^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/api_client.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.0.7 1.1.0 1.3.0
lb_commons ^1.1.0 1.1.0 1.3.0
lb_discovery ^1.1.3 1.1.6 1.3.0
lb_state_manager ^1.1.2 1.2.1 1.4.0
meta ^1.1.8 1.17.0 1.18.2
Transitive dependencies
Package Constraint Compatible Latest Notes
args - 2.7.0 2.7.0
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
connectivity_plus - 4.0.2 7.1.0
connectivity_plus_platform_interface - 1.2.4 2.1.0
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
lb_core - 1.2.1 1.4.0
logger - 2.7.0 2.7.0
material_color_utilities - 0.13.0 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 5.0.1
nsd_android - 1.2.2 2.2.0
nsd_ios - 1.0.3 3.0.1
nsd_macos - 1.0.3 3.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.3
vector_math - 2.2.0 2.3.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.12, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

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

Documentation

Documentation
API reference

Publisher

verified publisherlogbot.cloud

Weekly Downloads

Logbot Firewall HTTP Service for: * Setup and gather informations about the firewall configuration * Setup and gather informations about the HTTP server configuration * Enable/Disable the firewall

Homepage

License

BSD-3-Clause (license)

Dependencies

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

More

Packages that depend on lb_firewall