artemis_cupps 0.0.91 copy "artemis_cupps: ^0.0.91" to clipboard
artemis_cupps: ^0.0.91 copied to clipboard

A Package for connecting to cupps platform.

0
likes
80/ 160
pub points
34%
popularity

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

failed
Follow Dart file conventions
20 / 30trigger folding of the section

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 60 to 180 characters to describe the package, what it does, and its target use case.

5/5 points: Provide a valid README.md

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

3 out of 1493 API elements (0.2 %) 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: aath_entered_event, aath_entered_event.AAthEnteredEvent, aath_entered_event.AAthEnteredEvent.AAthEnteredEvent, aath_entered_event.AAthEnteredEvent.AAthEnteredEvent.fromXML, aath_entered_event.AAthEnteredEvent.toXML.

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 2 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

These platforms are not supported:

Package does not support platform `Windows`.

Because:

  • package:artemis_cupps/artemis_cupps.dart that imports:
  • package:artemis_cupps/classes/Responses/reader_read_res.dart that imports:
  • package:artemis_cupps/classes/classes.dart that imports:
  • package:artemis_cupps/classes/Devices/zl_device.dart that imports:
  • package:artemis_cupps/classes/device.dart that imports:
  • package:artemis_cupps/utility/socket_util.dart that imports:
  • package:artemis_cupps/utility/logger.dart that imports:
  • package:open_file_plus/open_file_plus.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:artemis_cupps/artemis_cupps.dart that imports:
  • package:artemis_cupps/classes/Responses/reader_read_res.dart that imports:
  • package:artemis_cupps/classes/classes.dart that imports:
  • package:artemis_cupps/classes/Devices/zl_device.dart that imports:
  • package:artemis_cupps/classes/device.dart that imports:
  • package:artemis_cupps/utility/socket_util.dart that imports:
  • package:artemis_cupps/utility/logger.dart that imports:
  • package:open_file_plus/open_file_plus.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:artemis_cupps/artemis_cupps.dart that imports:
  • package:artemis_cupps/classes/Responses/reader_read_res.dart that imports:
  • package:artemis_cupps/classes/classes.dart that imports:
  • package:artemis_cupps/classes/Devices/zl_device.dart that imports:
  • package:artemis_cupps/classes/device.dart that imports:
  • package:artemis_cupps/utility/socket_util.dart that imports:
  • package:artemis_cupps/utility/logger.dart that imports:
  • package:open_file_plus/open_file_plus.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:artemis_cupps/artemis_cupps.dart that imports:
  • package:artemis_cupps/classes/Responses/reader_read_res.dart that imports:
  • package:artemis_cupps/classes/classes.dart that imports:
  • package:artemis_cupps/classes/Devices/zl_device.dart that imports:
  • package:artemis_cupps/classes/device.dart that imports:
  • package:artemis_cupps/utility/socket_util.dart that imports:
  • package:artemis_cupps/utility/logger.dart that imports:
  • package:path_provider/path_provider.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:artemis_cupps/artemis_cupps.dart that imports:
  • package:artemis_cupps/classes/Responses/reader_read_res.dart that imports:
  • package:artemis_cupps/classes/classes.dart that imports:
  • package:artemis_cupps/classes/Devices/zl_device.dart that imports:
  • package:artemis_cupps/classes/device.dart that imports:
  • package:artemis_cupps/utility/socket_util.dart that imports:
  • package:artemis_cupps/utility/logger.dart that imports:
  • package:path_provider/path_provider.dart that imports:
  • package:path_provider_platform_interface/path_provider_platform_interface.dart that imports:
  • package:path_provider_platform_interface/src/method_channel_path_provider.dart that imports:
  • package:platform/platform.dart that imports:
  • package:platform/src/interface/local_platform.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
Pass static analysis
30 / 50trigger folding of the section

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

Found 262 issues. Showing the first 2:

WARNING: Unused import: '../../classes/Requests/aea_request_req.dart'.

lib/classes/Devices/bt_device.dart:4:8

  ╷
4 │ import '../../classes/Requests/aea_request_req.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

WARNING: Unused import: '../device.dart'.

lib/classes/Notifications/derr_exited_event.dart:4:8

  ╷
4 │ import '../device.dart';
  │        ^^^^^^^^^^^^^^^^
  ╵

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

failed
Support up-to-date dependencies
10 / 40trigger folding of the section

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

Package Constraint Compatible Latest
cupertino_icons ^1.0.2 1.0.8 1.0.8
dart_ipify ^1.1.1 1.1.1 1.1.1
encrypt ^5.0.1 5.0.3 5.0.3
flutter flutter 0.0.0 0.0.0
get ^4.3.8 4.6.6 4.6.6
intl ^0.18.0 0.18.1 0.20.0
network_info_plus ^2.1.0 2.1.2 6.1.1
open_file_plus ^3.4.0 3.4.1+1 3.4.1+1
path_provider ^2.0.6 2.1.5 2.1.5
uuid ^3.0.5 3.0.7 4.5.1
xml ^5.1.2 5.4.1 6.5.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.6.0 2.6.0
asn1lib - 1.5.8 1.5.8
async - 2.12.0 2.12.0
characters - 1.3.0 1.3.1
clock - 1.1.2 1.1.2
collection - 1.18.0 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.6 3.0.6
dbus - 0.5.4 0.7.10
ffi - 2.1.3 2.1.3
flutter_web_plugins - 0.0.0 0.0.0
http - 1.2.2 1.2.2
http_parser - 4.0.2 4.1.1
js - 0.7.1 0.7.1
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
network_info_plus_linux - 1.1.0 1.1.2
network_info_plus_macos - 1.3.0 1.3.0
network_info_plus_platform_interface - 1.1.3 2.0.1
network_info_plus_web - 1.0.1 1.0.1
network_info_plus_windows - 1.0.2 1.0.2
nm - 0.3.0 0.5.0
path - 1.9.1 1.9.1
path_provider_android - 2.2.12 2.2.12
path_provider_foundation - 2.4.0 2.4.0
path_provider_linux - 2.2.1 2.2.1
path_provider_platform_interface - 2.1.2 2.1.2
path_provider_windows - 2.3.0 2.3.0
pedantic - 1.11.1 1.11.1
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pointycastle - 3.9.1 3.9.1
sky_engine - 0.0.99 0.0.99
source_span - 1.10.0 1.10.0
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.1.4
web - 1.1.0 1.1.0
xdg_directories - 1.1.0 1.1.0

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

Found 4 issues. Showing the first 2:

The constraint `^0.18.0` on intl does not support the stable version `0.19.0`.

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

The constraint `^2.1.0` on network_info_plus does not support the stable version `3.0.0`.

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

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

0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 42 errors:

  • UNDEFINED_GETTER - lib/classes/Notifications/derr_entered_event.dart:29:45 - The getter 'childElements' isn't defined for the type 'XmlElement'.
  • UNDEFINED_GETTER - lib/classes/Notifications/device_status_notification.dart:33:43 - The getter 'childElements' isn't defined for the type 'XmlElement'.
  • UNDEFINED_GETTER - lib/classes/Notifications/illogical_message_error_event.dart:40:75 - The getter 'childElements' isn't defined for the type 'XmlElement'.

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.15, Flutter 3.24.4, Dart 3.5.4.

Check the analysis log for details.