nsg_data 1.0.0
nsg_data: ^1.0.0 copied to clipboard
Data object model and data exchange with C# server
We analyzed this package 45 hours ago, and awarded it 110 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
pubspec.yaml from the repository defines publish_to, thus, we are unable to verify the package is published from here.
Please provide a valid repository URL in pubspec.yaml, such that:
repositorycan be cloned,- a clone of the repository contains a
pubspec.yaml, which:,- contains
name: nsg_data, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
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.
10/10 points: 20% or more of the public API has dartdoc comments
489 out of 1273 API elements (38.4 %) have documentation comments.
Some symbols that are missing documentation: base_reference_field, base_reference_field.NsgDataBaseReferenceField, base_reference_field.NsgDataBaseReferenceField.NsgDataBaseReferenceField.new, base_reference_field.NsgDataBaseReferenceField.referentElementType, base_reference_field.NsgDataBaseReferenceField.referentType.
10/10 points: Package has an example
20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ Windows
-
✓ Linux
-
✓ macOS
These platforms are not supported:
Package does not support platform `Web`.
Because:
package:nsg_data/nsg_data.dartthat imports:package:nsg_data/db/nsg_local_db.dartthat imports:package:path_provider/path_provider.dartthat declares support for platforms:Android,iOS,Windows,Linux,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:nsg_data/nsg_data.dartthat imports:package:nsg_data/nsgDataFreeRequest.dartthat imports:package:nsg_data/nsg_data_provider.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `iOS`.
Because:
package:nsg_data/nsg_data.dartthat imports:package:nsg_data/nsgDataFreeRequest.dartthat imports:package:nsg_data/nsg_data_provider.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `Linux`.
Because:
package:nsg_data/nsg_data.dartthat imports:package:nsg_data/nsgDataFreeRequest.dartthat imports:package:nsg_data/nsg_data_provider.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
Package does not support platform `macOS`.
Because:
package:nsg_data/nsg_data.dartthat imports:package:nsg_data/nsgDataFreeRequest.dartthat imports:package:nsg_data/nsg_data_provider.dartthat imports:package:device_info_plus/device_info_plus.dartthat imports:package:device_info_plus/src/device_info_plus_windows.dartthat imports:package:win32_registry/win32_registry.dartthat declares support for platforms:Windows.
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 13 issues. Showing the first 2:
INFO: Missing type annotation.
lib/controllers/nsgBaseController.dart:233:3
╷
233 │ saveBackup(NsgDataItem item) {
│ ^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/controllers/nsgBaseController.dart
INFO: 'RawKeyDownEvent' is deprecated and shouldn't be used. Use KeyDownEvent instead. This feature was deprecated after v3.18.0-2.0.pre.
lib/helpers/nsg_barcode_reader.dart:18:36
╷
18 │ /// Windows seems to be using the [RawKeyDownEvent] instead of the
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/helpers/nsg_barcode_reader.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
device_info_plus |
^11.0.0 |
11.5.0 | 12.3.0 | |
dio |
^5.4.3+1 |
5.9.0 | 5.9.0 | |
event |
^2.0.5 |
2.1.2 | 3.1.0 | |
flutter_multi_formatter |
^2.13.7 |
2.13.10 | 2.13.10 | |
get |
^5.0.0-beta.52 |
5.0.0-release-candidate-9.3.2 | 5.0.0-release-candidate-9.3.2 | |
hive_ce |
^2.10.1 |
2.16.0 | 2.16.0 | |
intl |
^0.20.2 |
0.20.2 | 0.20.2 | |
jiffy |
^6.0.0 |
6.4.4 | 6.4.4 | |
package_info_plus |
^8.0.2 |
8.3.1 | 9.0.0 | |
path_provider |
^2.0.11 |
2.1.5 | 2.1.5 | |
pedantic |
^1.11.1 |
1.11.1 | 1.11.1 | Discontinued |
retry |
^3.1.0 |
3.1.2 | 3.1.2 | |
shared_preferences |
^2.5.3 |
2.5.4 | 2.5.4 | |
timeago |
^3.5.0 |
3.7.1 | 3.7.1 | |
uuid |
^4.2.1 |
4.5.2 | 4.5.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
base58check |
- | 2.0.0 | 2.0.0 | |
bech32 |
- | 0.2.2 | 0.2.2 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
clock |
- | 1.1.2 | 1.1.2 | |
collection |
- | 1.19.1 | 1.19.1 | |
convert |
- | 3.1.2 | 3.1.2 | |
crypto |
- | 3.0.7 | 3.0.7 | |
device_info_plus_platform_interface |
- | 7.0.3 | 7.0.3 | |
dio_web_adapter |
- | 2.1.1 | 2.1.1 | |
ffi |
- | 2.1.5 | 2.1.5 | |
file |
- | 7.0.1 | 7.0.1 | |
fixnum |
- | 1.1.1 | 1.1.1 | |
http |
- | 1.6.0 | 1.6.0 | |
http_parser |
- | 4.1.2 | 4.1.2 | |
isolate_channel |
- | 0.2.2+1 | 0.2.2+1 | |
json_annotation |
- | 4.9.0 | 4.9.0 | |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
mime |
- | 2.0.0 | 2.0.0 | |
package_info_plus_platform_interface |
- | 3.2.1 | 3.2.1 | |
path |
- | 1.9.1 | 1.9.1 | |
path_provider_android |
- | 2.2.22 | 2.2.22 | |
path_provider_foundation |
- | 2.5.1 | 2.5.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 | |
platform |
- | 3.1.6 | 3.1.6 | |
plugin_platform_interface |
- | 2.1.8 | 2.1.8 | |
quiver |
- | 3.2.2 | 3.2.2 | |
shared_preferences_android |
- | 2.4.18 | 2.4.18 | |
shared_preferences_foundation |
- | 2.5.6 | 2.5.6 | |
shared_preferences_linux |
- | 2.4.1 | 2.4.1 | |
shared_preferences_platform_interface |
- | 2.4.1 | 2.4.1 | |
shared_preferences_web |
- | 2.4.3 | 2.4.3 | |
shared_preferences_windows |
- | 2.4.1 | 2.4.1 | |
source_span |
- | 1.10.1 | 1.10.1 | |
stack_trace |
- | 1.12.1 | 1.12.1 | |
stream_channel |
- | 2.1.4 | 2.1.4 | |
string_scanner |
- | 1.4.1 | 1.4.1 | |
term_glyph |
- | 1.2.2 | 1.2.2 | |
test_api |
- | 0.7.9 | 0.7.9 | |
typed_data |
- | 1.4.0 | 1.4.0 | |
vector_math |
- | 2.2.0 | 2.2.0 | |
web |
- | 1.1.1 | 1.1.1 | |
win32 |
- | 5.15.0 | 5.15.0 | |
win32_registry |
- | 2.1.0 | 2.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 `^11.0.0` on device_info_plus does not support the stable version `12.0.0`.
Try running dart pub upgrade --major-versions device_info_plus to update the constraint.
The constraint `^2.0.5` on event does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions event 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 2 errors:
URI_DOES_NOT_EXIST-lib/ui/nsg_data_ui.dart:3:8- Target of URI doesn't exist: 'package:get/get_navigation/src/routes/new_path_route.dart'.UNDEFINED_METHOD-lib/ui/nsg_data_ui.dart:158:32- The method 'firstWhereOrNull' isn't defined for the type 'Iterable'.
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.23.5, Flutter 3.38.5, Dart 3.10.4.
Check the analysis log for details.