mno_lcp 0.1.0 copy "mno_lcp: ^0.1.0" to clipboard
mno_lcp: ^0.1.0 copied to clipboard

This package provides a DART LCP layer (native libraries not provided).

0
likes
140/ 160
pub points
53
downloads

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

OK
Follow Dart file conventions
30 / 30trigger folding of the section

10/10 points: Provide a valid pubspec.yaml

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: BSD-3-Clause.

OK
Provide documentation
20 / 20trigger folding of the section

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

167 out of 735 API elements (22.7 %) have documentation comments.

Some symbols that are missing documentation: bytes_license_container, bytes_license_container.BytesLicenseContainer, bytes_license_container.BytesLicenseContainer.BytesLicenseContainer, bytes_license_container.BytesLicenseContainer.read, bytes_license_container.BytesLicenseContainer.write.

10/10 points: Package has 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:mno_lcp/auth/lcp_passphrase_authentication.dart that imports:
  • package:mno_lcp/lcp.dart that imports:
  • package:mno_lcp/service/device_service.dart that imports:
  • package:device_info/device_info.dart that declares support for platforms: Android, iOS.
Package does not support platform `Linux`.

Because:

  • package:mno_lcp/auth/lcp_passphrase_authentication.dart that imports:
  • package:mno_lcp/lcp.dart that imports:
  • package:mno_lcp/service/device_service.dart that imports:
  • package:device_info/device_info.dart that declares support for platforms: Android, iOS.
Package does not support platform `macOS`.

Because:

  • package:mno_lcp/auth/lcp_passphrase_authentication.dart that imports:
  • package:mno_lcp/lcp.dart that imports:
  • package:mno_lcp/service/device_service.dart that imports:
  • package:device_info/device_info.dart that declares support for platforms: Android, iOS.
Package does not support platform `Web`.

Because:

  • package:mno_lcp/auth/lcp_passphrase_authentication.dart that imports:
  • package:mno_lcp/lcp.dart that imports:
  • package:mno_lcp/service/licenses_service.dart that imports:
  • package:mno_lcp/io/file_util.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:mno_lcp/auth/lcp_passphrase_authentication.dart that imports:
  • package:mno_lcp/lcp.dart that imports:
  • package:mno_lcp/service/network_service.dart that imports:
  • package:universal_io/io.dart that imports:
  • package:universal_io/src/_exports_in_vm.dart that imports:
  • package:universal_io/src/new_universal_http_client.dart that imports:
  • package:universal_io/src/_helpers.dart that imports:
  • package:universal_io/src/_helpers_impl_elsewhere.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.

partial
Pass static analysis
40 / 50trigger folding of the section

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

Found 11 issues. Showing the first 2:

INFO: The import of 'package:mno_lcp/lcp_decryptor.dart' is unnecessary because all of the used elements are also provided by the import of 'package:mno_lcp/lcp.dart'.

lib/lcp_content_protection.dart:8:8

  ╷
8 │ import 'package:mno_lcp/lcp_decryptor.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

INFO: The import of 'package:mno_lcp/license/container/license_container.dart' is unnecessary because all of the used elements are also provided by the import of 'package:mno_lcp/lcp.dart'.

lib/license/container/lcpl_license_container.dart:9:8

  ╷
9 │ import 'package:mno_lcp/license/container/license_container.dart';
  │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

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

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

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

Package Constraint Compatible Latest
collection ^1.15.0 1.19.0 1.19.1
crypto ^3.0.1 3.0.6 3.0.6
dartx ^0.7.1 0.7.1 1.2.0
device_info ^2.0.2 2.0.3 2.0.3
dfunc ^0.7.2 0.7.2 0.10.0
either_option ^2.0.0 2.0.0 2.0.0
fimber ^0.6.1 0.6.6 0.7.0
flutter flutter 0.0.0 0.0.0
flutter_archive ^4.0.1 4.2.2 6.0.3
hex ^0.2.0 0.2.0 0.2.0
intl ^0.17.0 0.17.0 0.20.1
mno_commons ^0.1.2 0.1.2 0.1.2
mno_fsm ^0.1.1 0.1.1 0.2.3
mno_shared ^0.1.3 0.1.3 0.1.3
multiple_localization ^0.2.2 0.2.2 0.5.0
path ^1.8.0 1.9.1 1.9.1
path_provider ^2.0.5 2.1.5 2.1.5
shared_preferences ^2.0.8 2.3.4 2.3.4
sqflite ^2.0.0+4 2.4.1 2.4.1
tuple ^2.0.0 2.0.2 2.0.2
universal_io ^2.0.4 2.2.2 2.2.2
url_launcher ^6.0.12 6.3.1 6.3.1
uuid ^3.0.5 3.0.7 4.5.1
Transitive dependencies
Package Constraint Compatible Latest
_fe_analyzer_shared - 78.0.0 78.0.0
_macros - 0.3.3 0.3.3
analyzer - 7.1.0 7.1.0
archive - 3.6.1 4.0.2
args - 2.6.0 2.6.0
async - 2.12.0 2.12.0
boolean_selector - 2.1.2 2.1.2
characters - 1.3.0 1.4.0
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
coverage - 1.11.1 1.11.1
device_info_platform_interface - 2.0.1 2.0.1
equatable - 2.0.7 2.0.7
ffi - 2.1.3 2.1.3
file - 7.0.1 7.0.1
flutter_web_plugins - 0.0.0 0.0.0
frontend_server_client - 4.0.0 4.0.0
glob - 2.1.2 2.1.2
http - 0.13.6 1.2.2
http_multi_server - 3.2.2 3.2.2
http_parser - 4.1.1 4.1.1
image - 3.1.3 4.5.2
io - 1.0.5 1.0.5
js - 0.7.1 0.7.1
logging - 1.3.0 1.3.0
macros - 0.1.3-main.0 0.1.3-main.0
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.15.0 1.16.0
mime - 2.0.0 2.0.0
node_preamble - 2.0.2 2.0.2
package_config - 2.1.1 2.1.1
path_provider_android - 2.2.15 2.2.15
path_provider_foundation - 2.4.1 2.4.1
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
petitparser - 5.4.0 6.0.2
platform - 3.1.6 3.1.6
plugin_platform_interface - 2.1.8 2.1.8
pool - 1.5.1 1.5.1
pub_semver - 2.1.5 2.1.5
shared_preferences_android - 2.4.0 2.4.0
shared_preferences_foundation - 2.5.4 2.5.4
shared_preferences_linux - 2.4.1 2.4.1
shared_preferences_platform_interface - 2.4.1 2.4.1
shared_preferences_web - 2.4.2 2.4.2
shared_preferences_windows - 2.4.1 2.4.1
shelf - 1.4.2 1.4.2
shelf_packages_handler - 3.0.2 3.0.2
shelf_static - 1.1.3 1.1.3
shelf_web_socket - 2.0.1 2.0.1
sky_engine - 0.0.0 0.0.0
source_map_stack_trace - 2.1.2 2.1.2
source_maps - 0.10.13 0.10.13
source_span - 1.10.1 1.10.1
sqflite_android - 2.4.0 2.4.0
sqflite_common - 2.5.4+6 2.5.4+6
sqflite_darwin - 2.4.1 2.4.1
sqflite_platform_interface - 2.4.0 2.4.0
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.3 2.1.3
string_scanner - 1.4.1 1.4.1
synchronized - 3.3.0+3 3.3.0+3
term_glyph - 1.2.2 1.2.2
test - 1.25.14 1.25.14
test_api - 0.7.4 0.7.4
test_core - 0.6.8 0.6.8
time - 2.1.5 2.1.5
typed_data - 1.4.0 1.4.0
url_launcher_android - 6.3.14 6.3.14
url_launcher_ios - 6.3.2 6.3.2
url_launcher_linux - 3.2.1 3.2.1
url_launcher_macos - 3.2.2 3.2.2
url_launcher_platform_interface - 2.3.2 2.3.2
url_launcher_web - 2.3.3 2.3.3
url_launcher_windows - 3.1.3 3.1.3
vector_math - 2.1.4 2.1.4
vm_service - 15.0.0 15.0.0
watcher - 1.1.1 1.1.1
web - 1.1.0 1.1.0
web_socket - 0.1.6 0.1.6
web_socket_channel - 3.0.1 3.0.1
webkit_inspection_protocol - 1.2.1 1.2.1
xdg_directories - 1.1.0 1.1.0
xml - 5.4.1 6.5.0
yaml - 3.1.3 3.1.3

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

Found 8 issues. Showing the first 2:

The constraint `^0.7.1` on dartx does not support the stable version `0.8.0`.

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

The constraint `^0.7.2` on dfunc does not support the stable version `0.8.0`.

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

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

20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.17, Flutter 3.27.0, Dart 3.6.0.

Check the analysis log for details.