staging_loop 0.0.11 copy "staging_loop: ^0.0.11" to clipboard
staging_loop: ^0.0.11 copied to clipboard

A new Flutter package for enhanced API call security.

2
likes
130/ 160
pub points
30
downloads

We analyzed this package 5 days ago, and awarded it 130 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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

14 out of 51 API elements (27.5 %) have documentation comments.

Some symbols that are missing documentation: staging_loop, staging_loop.StagingLoop, staging_loop.StagingLoop.StagingLoop.new, staging_loop.StagingLoop.getConnectionType, staging_loop.StagingLoop.getDate.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

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:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.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:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.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:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.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 `Linux`.

Because:

  • package:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_windows.dart that imports:
  • package:package_info_plus/src/file_version_info.dart that imports:
  • package:win32/win32.dart that declares support for platforms: Windows.
Package does not support platform `macOS`.

Because:

  • package:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.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 `Web`.

Because:

  • package:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.dart that imports:
  • package:advertising_id/advertising_id.dart that declares support for platforms: Android, iOS.

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:staging_loop/staging_loop.dart that imports:
  • package:staging_loop/staging_loop_platform_interface.dart that imports:
  • package:staging_loop/staging_loop_method_channel.dart that imports:
  • package:package_info_plus/package_info_plus.dart that imports:
  • package:package_info_plus/src/package_info_plus_linux.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 check 0/0 points: Swift Package Manager support

Package does not support the Swift Package Manager on macOS

It does not contain macos/staging_loop/Package.swift.

This package for iOS or macOS does not support the Swift Package Manager. It will not receive full points in a future version of the scoring model.

See https://docs.flutter.dev/to/spm for details.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 11 issues. Showing the first 2:

INFO: The type of the right operand ('ConnectivityResult') isn't a subtype or a supertype of the left operand ('List

lib/staging_loop_method_channel.dart:109:28

    ╷
109 │     if (connectivityResult == ConnectivityResult.mobile) {
    │                            ^^
    ╵

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

INFO: The type of the right operand ('ConnectivityResult') isn't a subtype or a supertype of the left operand ('List

lib/staging_loop_method_channel.dart:111:35

    ╷
111 │     } else if (connectivityResult == ConnectivityResult.wifi) {
    │                                   ^^
    ╵

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

Failed report section
Support up-to-date dependencies
20 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
advertising_id any 2.7.1 2.7.1
connectivity_plus any 6.1.3 6.1.3
device_info_plus any 11.3.3 11.3.3
flutter_timezone any 4.1.0 4.1.0
http any 1.3.0 1.3.0
package_info_plus any 8.3.0 8.3.0
plugin_platform_interface any 2.1.8 2.1.8
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.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
connectivity_plus_platform_interface - 2.0.1 2.0.1
dbus - 0.7.11 0.7.11
device_info_plus_platform_interface - 7.0.2 7.0.2
ffi - 2.1.4 2.1.4
file - 7.0.1 7.0.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.0
nm - 0.5.0 0.5.0
package_info_plus_platform_interface - 3.2.0 3.2.0
path - 1.9.1 1.9.1
petitparser - 6.1.0 6.1.0
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
vector_math - 2.1.4 2.1.5
web - 1.1.1 1.1.1
win32 - 5.12.0 5.12.0
win32_registry - 2.1.0 2.1.0
xml - 6.5.0 6.5.0

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

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 4 errors:

  • UNDEFINED_ENUM_CONSTANT - lib/staging_loop_method_channel.dart:113:57 - There's no constant named 'ethernet' in 'ConnectivityResult'.
  • UNDEFINED_ENUM_CONSTANT - lib/staging_loop_method_channel.dart:115:57 - There's no constant named 'vpn' in 'ConnectivityResult'.
  • UNDEFINED_ENUM_CONSTANT - lib/staging_loop_method_channel.dart:117:57 - There's no constant named 'bluetooth' in 'ConnectivityResult'.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
2
likes
130
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

A new Flutter package for enhanced API call security.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

advertising_id, connectivity_plus, device_info_plus, flutter, flutter_timezone, flutter_web_plugins, http, package_info_plus, plugin_platform_interface

More

Packages that depend on staging_loop