pixelmatch 1.1.2 copy "pixelmatch: ^1.1.2" to clipboard
pixelmatch: ^1.1.2 copied to clipboard

Diff images on CPU. Small, fast pixel-level image comparison library for e2e testing.

60/ 160
pub points
158
downloads

We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 160):

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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

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

11 out of 13 API elements (84.6 %) have documentation comments.

Some symbols that are missing documentation: pixelmatch, utils.

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
0 / 20trigger folding of the section

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

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

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

Found 17 issues. Showing the first 2:

ERROR: Target of URI doesn't exist: 'dart:ui'.

lib/utils.dart:1:8

  ╷
1 │ import 'dart:ui';
  │        ^^^^^^^^^
  ╵

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

ERROR: The name 'Image' isn't a type, so it can't be used as a type argument.

lib/utils.dart:13:8

   ╷
13 │ Future<Image> decodePng(Uint8List bytes) async {
   │        ^^^^^
   ╵

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

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

Passed check 10/10 points: All of the package dependencies are supported in the latest version

No dependencies.

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

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

downgrade analysis failed failed with 17 errors:

  • URI_DOES_NOT_EXIST - lib/utils.dart:1:8 - Target of URI doesn't exist: 'dart:ui'.
  • NON_TYPE_AS_TYPE_ARGUMENT - lib/utils.dart:13:8 - The name 'Image' isn't a type, so it can't be used as a type argument.
  • UNDEFINED_FUNCTION - lib/utils.dart:14:23 - The function 'instantiateImageCodec' isn't defined.

Run flutter pub downgrade and then flutter analyze to reproduce the above problem.

You may run dart pub upgrade --tighten to update your dependency constraints, see dart.dev/go/downgrade-testing for details.

Analyzed with Pana 0.23.10, Dart 3.11.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
60
points
158
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Diff images on CPU. Small, fast pixel-level image comparison library for e2e testing.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on pixelmatch