diff_match_patch 0.4.1 diff_match_patch: ^0.4.1 copied to clipboard
The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.
We analyzed this package 47 hours ago, and awarded it 110 pub points (of a possible 140):
0/10 points: Provide a valid pubspec.yaml
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: Apache-2.0
.
10/10 points: 20% or more of the public API has dartdoc comments
31 out of 38 API elements (81.6 %) have documentation comments.
Some symbols that are missing documentation: diff_match_patch.DIFF_EQUAL
, diff_match_patch.DIFF_INSERT
, diff_match_patch.Patch.diffs
, diff_match_patch.Patch.length1
, diff_match_patch.Patch.length2
.
0/10 points: Package has an example
No example found.
See package layout guidelines on how to add an example.
20/20 points: Supports 6 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
- ✓ Android
- ✓ iOS
- ✓ Windows
- ✓ Linux
- ✓ macOS
- ✓ Web
40/50 points: code has no errors, warnings, lints, or formatting issues
Found 77 issues. Showing the first 2:
INFO: The variable name 'diff_levenshtein' isn't a lowerCamelCase identifier.
lib/src/api.dart:90:7
╷
90 │ int diff_levenshtein(List<d.Diff> diffs) {
│ ^^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api.dart
INFO: The variable name 'opt_b' isn't a lowerCamelCase identifier.
lib/src/api.dart:123:42
╷
123 │ List<p.Patch> patch(Object a, [Object? opt_b, Object? opt_c]) {
│ ^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/api.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
Analyzed with Pana 0.22.3
, Dart 3.3.4
.
Check the analysis log for details.