Skip to content

feat: Support transient identities and traits #30

feat: Support transient identities and traits

feat: Support transient identities and traits #30

GitHub Actions / Analysis of flagsmith_flutter_core succeeded Oct 12, 2024 in 50s

Package analysis results for flagsmith_flutter_core

Score

140/160 points
(87.5%)

Supported platforms

  • Flutter
    • android
    • ios
    • windows
    • linux
    • macos
    • web
  • Dart
    • native-aot
      Can be aot compiled with eg. dart2native (Can use dart:io but not dart:mirrors)
    • native-jit
      Can be run with the dart vm in jit mode. (Can use dart:io and dart:mirrors)
    • web
      Can be compiled with DDC and dart2js. (Can use dart:html and friends, not dart:io, dart:mirrors, dart:ffi, etc.)

Details

Follow Dart file conventions (30/30)

✔ 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: MIT.

Provide documentation (10/20)

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

13 out of 108 API elements (12.0 %) 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: flagsmith_flutter_core, flagsmith_flutter_core.CoreStorage.clear, flagsmith_flutter_core.CoreStorage.create, flagsmith_flutter_core.CoreStorage.delete, flagsmith_flutter_core.CoreStorage.getAll.

✔ 10/10 points: Package has an example

Platform support (20/20)

✔ 20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

✔ 0/0 points: WASM compatibility

This package is compatible with runtime wasm, and will be rewarded additional points in a future version of the scoring model.

See https://dart.dev/web/wasm for details.

Pass static analysis (40/50)

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

/tmp/pana_YIQODI/lib/src/model/identity.dart doesn't match the Dart formatter.

To format your files run: dart format .

Support up-to-date dependencies (40/40)

✔ 10/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.0
crypto ^3.0.1 3.0.5 3.0.5
encrypt ^5.0.1 5.0.3 5.0.3
json_annotation ^4.0.1 4.9.0 4.9.0
rxdart ^0.28.0 0.28.0 0.28.0
Transitive dependencies
Package Constraint Compatible Latest
args - 2.5.0 2.5.0
asn1lib - 1.5.6 1.5.6
clock - 1.1.1 1.1.1
convert - 3.1.1 3.1.1
js - 0.7.1 0.7.1
meta - 1.16.0 1.16.0
pointycastle - 3.9.1 3.9.1
typed_data - 1.3.2 1.3.2

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

✔ 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.

Versions