pixelmatch 1.1.2
pixelmatch: ^1.1.2 copied to clipboard
Diff images on CPU. Small, fast pixel-level image comparison library for e2e testing.
We analyzed this package 5 days ago, and awarded it 60 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
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: MIT.
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.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
0/20 points: Supports 0 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
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
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.
10/10 points: Package supports latest stable Dart and Flutter SDKs
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.