lora_sdk 1.0.4
lora_sdk: ^1.0.4 copied to clipboard
LoraSDK is a Flutter package that enables easy integration of local Large Language Models (LLM) into your Flutter applications. It provides a streamlined interface for managing and running LLM models [...]
We analyzed this package 43 hours ago, and awarded it 110 pub points (of a possible 160):
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.
Repository URL doesn't exist.
At the time of the analysis https://github.com/peekaboolabs-appdev/lora-sdk was unreachable. Make sure that the website is reachable via HEAD requests.
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.
0/10 points: 20% or more of the public API has dartdoc comments
2 out of 57 API elements (3.5 %) 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: lora_sdk, lora_sdk.LLMInterface, lora_sdk.LLMInterface.LLMInterface.new, lora_sdk.LLMInterface.cancelInference, lora_sdk.LLMInterface.chat.
10/10 points: Package has an example
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:lora_sdk/lora_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Linux`.
Because:
package:lora_sdk/lora_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `macOS`.
Because:
package:lora_sdk/lora_sdk.dartthat declares support for platforms:Android,iOS.
Package does not support platform `Web`.
Because:
package:lora_sdk/lora_sdk.dartthat declares support for platforms:Android,iOS.
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:lora_sdk/lora_sdk.dartthat imports:package:lora_sdk/src/implementation/lora_service_impl.dartthat imports:package:lora_sdk/src/implementation/managers/performance_metric_manager.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
Package does not support platform `iOS`.
Because:
package:lora_sdk/lora_sdk.dartthat imports:package:lora_sdk/src/implementation/lora_service_impl.dartthat imports:package:lora_sdk/src/implementation/managers/performance_metric_manager.dartthat imports:package:connectivity_plus/connectivity_plus.dartthat imports:package:connectivity_plus/src/connectivity_plus_linux.dartthat imports:package:nm/nm.dartthat declares support for platforms:Linux.
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:lora_sdk/lora_sdk.dartthat imports:package:lora_sdk/src/implementation/lora_service_impl.dartthat imports:package:lora_sdk/src/implementation/services/llm_service.dartthat imports:package:lora_sdk/src/core/logger.dartthat imports:package:logger/logger.dartthat imports:package:logger/src/outputs/advanced_file_output_stub.dartthat 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.cn/web/wasm for details.
0/0 points: Swift Package Manager support
Package does not support the Swift Package Manager on iOS
It does not contain ios/lora_sdk/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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 23 issues. Showing the first 2:
WARNING: The value of the local variable 'configString' isn't used.
lib/src/core/sdk_config.dart:63:13
╷
63 │ final configString = await rootBundle
│ ^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/core/sdk_config.dart
WARNING: The declaration '_insertInitialData' isn't referenced.
lib/src/data/datasources/local/lora_sdk_database.dart:107:16
╷
107 │ Future<void> _insertInitialData(Transaction txn) async {
│ ^^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/data/datasources/local/lora_sdk_database.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
battery_plus |
^6.2.1 |
6.2.3 | 7.0.0 | |
connectivity_plus |
^6.1.3 |
6.1.5 | 7.0.0 | |
convert |
^3.1.2 |
3.1.2 | 3.1.2 | |
crypto |
^3.0.6 |
3.0.7 | 3.0.7 | |
device_info_plus |
^11.3.0 |
11.5.0 | 12.2.0 | |
flutter_secure_storage |
^9.2.4 |
9.2.4 | 9.2.4 | |
http |
^1.3.0 |
1.6.0 | 1.6.0 | |
logger |
^2.5.0 |
2.6.2 | 2.6.2 | |
package_info_plus |
^8.2.1 |
8.3.1 | 9.0.0 | |
path |
^1.9.0 |
1.9.1 | 1.9.1 | |
path_provider |
^2.1.5 |
2.1.5 | 2.1.5 | |
plugin_platform_interface |
^2.0.2 |
2.1.8 | 2.1.8 | |
shared_preferences |
^2.5.1 |
2.5.3 | 2.5.3 | |
sqflite |
^2.4.1 |
2.4.2 | 2.4.2 | |
synchronized |
^3.3.0+3 |
3.4.0 | 3.4.0 | |
tiktoken_tokenizer_gpt4o_o1 |
^1.1.0 |
1.2.1 | 1.2.1 |
Transitive dependencies
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
Found 4 issues. Showing the first 2:
The constraint `^6.2.1` on battery_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions battery_plus to update the constraint.
The constraint `^6.1.3` on connectivity_plus does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions connectivity_plus 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.23.1, Flutter 3.35.7, Dart 3.9.2.
Check the analysis log for details.