neuro_realm_common 1.2.0-3979237ba0d93edcc571bb81776d8889b9b65b01 neuro_realm_common: ^1.2.0-3979237ba0d93edcc571bb81776d8889b9b65b01 copied to clipboard
Hosts the common code shared between neuro_realm, neuro_realm_dart and neuro_realm_generator packages. This package is part of the very-unofficial Realm Flutter and Realm Dart SDKs.
We analyzed this package 2 days 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/Neuromersive/realm-dart
was unreachable. Make sure that the website is reachable via HEAD
requests.
Failed to verify repository URL.
Please provide a valid repository
URL in pubspec.yaml
, such that:
repository
can be cloned,- a clone of the repository contains a
pubspec.yaml
, which:,- contains
name: neuro_realm_common
, - contains a
version
property, and, - does not contain a
publish_to
property.
- contains
Unable to access git repository: Failed to run remote show origin
.
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
63 out of 90 API elements (70.0 %) have documentation comments.
Some symbols that are missing documentation: Annotations
, Configuration
, Realm
, realm_common.Indexed.indexType
, realm_common.MapTo.name
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add 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 not compatible with platform Web
Because:
package:neuro_realm_common/realm_common.dart
that imports:package:neuro_realm_common/src/realm_types.dart
that imports:dart:ffi
0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
package:neuro_realm_common/realm_common.dart
that imports:package:neuro_realm_common/src/realm_types.dart
that imports:dart:ffi
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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 6 issues. Showing the first 2:
WARNING: The value of the field '_asymmetricObject' isn't used.
lib/src/realm_common_base.dart:36:3
╷
36 │ _asymmetricObject('AsymmetricObject', 2);
│ ^^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/realm_common_base.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/realm_types.dart:210:12
╷
210 │ operator ==(Object? other) {
│ ^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/realm_types.dart
0/10 points: All of the package dependencies are supported in the latest version
Package | Constraint | Compatible | Latest |
---|---|---|---|
objectid |
^2.1.0 |
2.1.0 | 3.1.0 |
sane_uuid |
^1.0.0-alpha.4 |
1.1.0 | 1.1.0 |
Transitive dependencies
Package | Constraint | Compatible | Latest |
---|---|---|---|
collection |
- | 1.19.1 | 1.19.1 |
crypto |
- | 3.0.6 | 3.0.6 |
meta |
- | 1.16.0 | 1.16.0 |
typed_data |
- | 1.4.0 | 1.4.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides
.
The constraint `^2.1.0` on objectid does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions objectid
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.