data_mock 1.0.6 copy "data_mock: ^1.0.6" to clipboard
data_mock: ^1.0.6 copied to clipboard

a plugin to provide lots of image or other datas.

1
likes
120/ 160
pub points
49
downloads

We analyzed this package 46 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

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 50 to 180 characters to describe the package, what it does, and its target use case.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/fastcode555/data_mock.git was unreachable. Make sure that the website is reachable via HEAD requests.

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-3-Clause.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

62 out of 97 API elements (63.9 %) have documentation comments.

Some symbols that are missing documentation: avatar_model, avatar_model.AvatarModel, avatar_model.AvatarModel.AvatarModel.fromJson, avatar_model.AvatarModel.AvatarModel.new, avatar_model.AvatarModel.avatar.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

Passed check 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:data_mock/data_mock.dart that imports:
  • package:data_mock/mock_db_manager.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:data_mock/data_mock.dart that imports:
  • package:data_mock/mock_db_manager.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.

Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

Found 3 issues. Showing the first 2:

INFO: The import of 'package:sqflite_common/sqlite_api.dart' is unnecessary because all of the used elements are also provided by the import of 'package:sqflite_common_ffi/sqflite_ffi.dart'.

lib/mock_db_manager.dart:12:8

   ╷
12 │ import 'package:sqflite_common/sqlite_api.dart';
   │        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

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

/tmp/pana_EAJGVG/lib/database/avatar_model_dao.dart doesn't match the Dart formatter.

To format your files run: dart format .

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
json2dart_dbffi ^0.0.4 0.0.9 1.0.7
json2dart_safe ^1.5.0 1.6.0 1.6.0
path ^1.8.2 1.9.1 1.9.1
sqflite_common ^2.4.2+2 2.5.5 2.5.5
sqflite_common_ffi ^2.2.1+1 2.3.6 2.3.6
Transitive dependencies
Package Constraint Compatible Latest Notes
characters - 1.4.0 1.4.1
collection - 1.19.1 1.19.1
ffi - 2.1.4 2.1.4
material_color_utilities - 0.11.1 0.13.0
meta - 1.16.0 1.17.0
sqlite3 - 2.7.6 2.7.6
synchronized - 3.4.0 3.4.0
typed_data - 1.4.0 1.4.0
vector_math - 2.1.4 2.2.0
web - 1.1.1 1.1.1

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

The constraint `^0.0.4` on json2dart_dbffi does not support the stable version `1.0.0`.

Try running dart pub upgrade --major-versions json2dart_dbffi 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.21, Flutter 3.32.4, Dart 3.8.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
49
downloads

Publisher

unverified uploader

Weekly Downloads

a plugin to provide lots of image or other datas.

Homepage

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, json2dart_dbffi, json2dart_safe, path, sqflite_common, sqflite_common_ffi

More

Packages that depend on data_mock