icure_medical_device_dart_sdk 1.5.4 copy "icure_medical_device_dart_sdk: ^1.5.4" to clipboard
icure_medical_device_dart_sdk: ^1.5.4 copied to clipboard

discontinuedreplaced by: cardinal_sdk

icure high level sdk for medical devices

2
likes
110/ 160
pub points
0%
popularity

We analyzed this package 32 hours ago, and awarded it 110 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
10 / 20trigger folding of the section

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

682 out of 1932 API elements (35.3 %) have documentation comments.

Some symbols that are missing documentation: address, address.AddressAddressTypeEnumMapper, address.AddressAddressTypeEnumMapper.toAddressTypeDto, address.AddressDtoAddressTypeEnumMapper, address.AddressDtoAddressTypeEnumMapper.toAddressType.

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:icure_medical_device_dart_sdk/api.dart that imports:
  • package:icure_medical_device_dart_sdk/utils/net_utils.dart that imports:
  • dart:io

0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:icure_medical_device_dart_sdk/api.dart that imports:
  • package:icure_medical_device_dart_sdk/utils/net_utils.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 207 issues. Showing the first 2:

WARNING: The value of the local variable 'ccPatient' isn't used.

lib/api/impl/healthcare_element_api_impl.dart:21:11

   ╷
21 │     final ccPatient = patientCryptoConfig(localCrypto);
   │           ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/api/impl/healthcare_element_api_impl.dart

WARNING: Dead code.

lib/api/impl/healthcare_element_api_impl.dart:42:195

   ╷
42 │     return createdHealthElementDto != null ? HealthElementDtoMapper(createdHealthElementDto).toHealthcareElement() : (throw StateError("Could not create healthElement ${healthcareElement.id}"));;
   │                                                                                                                                                                                                   ^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze lib/api/impl/healthcare_element_api_impl.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.16.0 1.19.1 1.19.1
crypto ^3.0.1 3.0.6 3.0.6
crypton ^2.0.3 2.2.1 2.2.1
http >=0.13.0 <0.14.0 0.13.6 1.2.2
icure_dart_sdk ^1.1.2 1.1.2 1.1.2
intl ^0.17.0 0.17.0 0.20.0
meta ^1.7.0 1.16.0 1.16.0
pointycastle ^3.5.1 3.9.1 3.9.1
tuple ^2.0.0 2.0.2 2.0.2
uuid ^3.0.5 3.0.7 4.5.1
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
clock - 1.1.2 1.1.2
convert - 3.1.2 3.1.2
http_parser - 4.1.1 4.1.1
js - 0.7.1 0.7.1
path - 1.9.1 1.9.1
source_span - 1.10.0 1.10.0
steel_crypt - 3.0.0+1 3.0.0+1
string_scanner - 1.4.0 1.4.0
term_glyph - 1.2.1 1.2.1
typed_data - 1.4.0 1.4.0

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

Found 3 issues. Showing the first 2:

The constraint `>=0.13.0 <0.14.0` on http does not support the stable version `1.0.0`.

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

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

Try running dart pub upgrade --major-versions intl 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.15, Dart 3.5.4.

Check the analysis log for details.