diff_match_patch 0.4.1 copy "diff_match_patch: ^0.4.1" to clipboard
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.

33
likes
130/ 160
pub points
1.77M
downloads

We analyzed this package 5 days ago, and awarded it 130 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

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: Apache-2.0.

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

31 out of 40 API elements (77.5 %) have documentation comments.

Some symbols that are missing documentation: diff_match_patch.DIFF_EQUAL, diff_match_patch.DIFF_INSERT, diff_match_patch.DiffMatchPatch.DiffMatchPatch.new, diff_match_patch.Patch.Patch.new, diff_match_patch.Patch.diffs.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ 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.

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 89 issues. Showing the first 2:

INFO: Angle brackets will be interpreted as HTML.

lib/diff_match_patch.dart:2:31

2 │ /// Copyright 2014 Boris Kaul <localvoid@gmail.com>
  │                               ^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/api.dart:2:31

2 │ /// Copyright 2014 Boris Kaul <localvoid@gmail.com>
  │                               ^^^^^^^^^^^^^^^^^^^^^
  ╵
copied to clipboard

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

Passed report section
Support up-to-date dependencies
40 / 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

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, Dart 3.7.2.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
Jun 30Jul 28Aug 25Sep 22Oct 20Nov 17Dec 15Jan 12Feb 9Mar 90100k200k300k400k500k600k>=0.0.0-0 <1.0.0
33
likes
130
points
1.77M
downloads

Publisher

unverified uploader

Weekly Downloads

2024.09.14 - 2025.03.29

The Diff Match and Patch libraries offer robust algorithms to perform the operations required for synchronizing plain text.

Documentation

API reference

License

Apache-2.0 (license)

More

Packages that depend on diff_match_patch