cloud_firestore_mocks 0.9.0+1
cloud_firestore_mocks: ^0.9.0+1 copied to clipboard
Fake implementation of Cloud Firestore. Use this package to write unit tests involving Cloud Firestore.
We analyzed this package 19 days ago, and awarded it 120 pub points (of a possible 160):
0/10 points: Provide a valid pubspec.yaml
Failed to verify repository URL.
Repository has no matching pubspec.yaml with name: cloud_firestore_mocks.
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: cloud_firestore_mocks, - contains a
versionproperty, and, - does not contain a
publish_toproperty.
- contains
Homepage URL is insecure.
Update the homepage field and use a secure (https) URL.
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-2-Clause.
10/10 points: 20% or more of the public API has dartdoc comments
19 out of 26 API elements (73.1 %) have documentation comments.
Some symbols that are missing documentation: cloud_firestore_mocks.MockFirestoreInstance, cloud_firestore_mocks.MockFirestoreInstance.MockFirestoreInstance.new, cloud_firestore_mocks.MockFirestoreInstance.dump, cloud_firestore_mocks.MockFirestoreInstance.hasSavedDocument, cloud_firestore_mocks.MockFirestoreInstance.loadBundle.
10/10 points: Package has an example
20/20 points: Supports 4 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
-
✓ Android
-
✓ iOS
-
✓ macOS
-
✓ Web
These platforms are not supported:
Package does not support platform `Windows`.
Because:
package:cloud_firestore_mocks/cloud_firestore_mocks.dartthat imports:package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dartthat imports:package:cloud_firestore_mocks/src/util.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,macOS,Web.
Package does not support platform `Linux`.
Because:
package:cloud_firestore_mocks/cloud_firestore_mocks.dartthat imports:package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dartthat imports:package:cloud_firestore_mocks/src/util.dartthat imports:package:cloud_firestore/cloud_firestore.dartthat declares support for platforms:Android,iOS,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.
30/50 points: code has no errors, warnings, lints, or formatting issues
Found 12 issues. Showing the first 2:
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/cloud_firestore_mocks_base.dart:124:17
╷
124 │ bool operator ==(dynamic other) => identical(this, other);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/cloud_firestore_mocks_base.dart
WARNING: The parameter type of '==' operators should be non-nullable.
lib/src/mock_collection_reference.dart:195:17
╷
195 │ bool operator ==(dynamic other) => identical(this, other);
│ ^^
╵
To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mock_collection_reference.dart
0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
cloud_firestore |
^2.1.0 |
2.5.4 | 6.1.1 | |
cloud_firestore_platform_interface |
^5.0.1 |
5.7.5 | 7.0.5 | |
collection |
^1.14.13 |
1.19.1 | 1.19.1 | |
plugin_platform_interface |
^2.0.0 |
2.1.8 | 2.1.8 | |
quiver |
^3.0.0 |
3.2.2 | 3.2.2 |
Transitive dependencies
| Package | Constraint | Compatible | Latest | Notes |
|---|---|---|---|---|
async |
- | 2.13.0 | 2.13.0 | |
boolean_selector |
- | 2.1.2 | 2.1.2 | |
characters |
- | 1.4.0 | 1.4.1 | |
cloud_firestore_web |
- | 2.6.18 | 5.1.1 | |
firebase_core |
- | 1.19.0 | 4.3.0 | |
firebase_core_platform_interface |
- | 4.4.1 | 6.0.2 | |
firebase_core_web |
- | 1.6.5 | 3.3.1 | |
js |
- | 0.6.7 | 0.7.2 | Discontinued |
matcher |
- | 0.12.18 | 0.12.18 | |
material_color_utilities |
- | 0.11.1 | 0.13.0 | |
meta |
- | 1.17.0 | 1.17.0 | |
path |
- | 1.9.1 | 1.9.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.8 | 0.7.8 | |
vector_math |
- | 2.2.0 | 2.2.0 |
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^2.1.0` on cloud_firestore does not support the stable version `3.0.0`.
Try running dart pub upgrade --major-versions cloud_firestore to update the constraint.
The constraint `^5.0.1` on cloud_firestore_platform_interface does not support the stable version `6.0.0`.
Try running dart pub upgrade --major-versions cloud_firestore_platform_interface 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.3, Flutter 3.38.4, Dart 3.10.3.
Check the analysis log for details.