cloud_firestore_mocks 0.9.0+1 copy "cloud_firestore_mocks: ^0.9.0+1" to clipboard
cloud_firestore_mocks: ^0.9.0+1 copied to clipboard

discontinued

Fake implementation of Cloud Firestore. Use this package to write unit tests involving Cloud Firestore.

46
likes
120/ 160
pub points
110
downloads

We analyzed this package 33 hours ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

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: cloud_firestore_mocks,
    • contains a version property, and,
    • does not contain a publish_to property.

Repository has no matching pubspec.yaml with name: cloud_firestore_mocks.

Homepage URL is insecure.

Update the homepage field and use a secure (https) URL.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: BSD-2-Clause.

Passed report section
Provide documentation
20 / 20trigger folding of the section

Passed check 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.

Passed check 10/10 points: Package has an example

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 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.dart that imports:
  • package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dart that imports:
  • package:cloud_firestore_mocks/src/util.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.
Package does not support platform `Linux`.

Because:

  • package:cloud_firestore_mocks/cloud_firestore_mocks.dart that imports:
  • package:cloud_firestore_mocks/src/cloud_firestore_mocks_base.dart that imports:
  • package:cloud_firestore_mocks/src/util.dart that imports:
  • package:cloud_firestore/cloud_firestore.dart that declares support for platforms: Android, iOS, macOS, Web.

Passed check 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.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 10 issues. Showing the first 2:

WARNING: The parameter type of '==' operators should be non-nullable.

lib/src/cloud_firestore_mocks_base.dart:124:17

124bool operator ==(dynamic other) => identical(this, other);
    │                 ^^
    ╵
copied to clipboard

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

195bool operator ==(dynamic other) => identical(this, other);
    │                 ^^
    ╵
copied to clipboard

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/mock_collection_reference.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 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 5.6.6
cloud_firestore_platform_interface ^5.0.1 5.7.5 6.6.6
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.0
cloud_firestore_web - 2.6.18 4.4.6
firebase_core - 1.19.0 3.13.0
firebase_core_platform_interface - 4.4.1 5.4.0
firebase_core_web - 1.6.5 2.22.0
js - 0.6.7 0.7.2 Discontinued
matcher - 0.12.17 0.12.17
material_color_utilities - 0.11.1 0.12.0
meta - 1.16.0 1.16.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.4 0.7.4
vector_math - 2.1.4 2.1.4

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.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.22.20, Flutter 3.29.2, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jul 1Jul 29Aug 26Sep 23Oct 21Nov 18Dec 16Jan 13Feb 10Mar 100510152025303540>=0.0.0-0 <1.0.0
46
likes
120
points
110
downloads

Publisher

verified publisherwafrat.com

Weekly Downloads

2024.09.16 - 2025.03.31

Fake implementation of Cloud Firestore. Use this package to write unit tests involving Cloud Firestore.

Documentation

API reference

License

BSD-2-Clause (license)

Dependencies

cloud_firestore, cloud_firestore_platform_interface, collection, flutter, plugin_platform_interface, quiver

More

Packages that depend on cloud_firestore_mocks