diff_match_patch 0.3.0

Dart native js
Flutter Android iOS web

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

0
likes
80 / 110
pub points
84 %
popularity

We analyzed this package on Oct 22, 2020, and awarded it 80 pub points (of a possible 110):

Follow Dart file conventions
10 / 20

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

Provide documentation
10 / 20

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

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

  • 40 out of 53 API elements (75.5 %) have documentation comments.
Support multiple platforms
20 / 20

20/20 points: Supports 2 of 2 possible platforms (native, js)

Pass static analysis
20 / 30

20/30 points: code has no errors, warnings, lints, or formatting issues

Found 214 issues. Showing the first 2:

INFO: Prefer using /// for doc comments.

lib/diff_match_patch.dart:1:1

   ╷
1  │ ┌ /**
2  │ │  * Copyright 2011 Google Inc.
3  │ │  * Copyright 2014 Boris Kaul <localvoid@gmail.com>
4  │ │  * http://github.com/localvoid/diff-match-patch
5  │ │  *
6  │ │  * Licensed under the Apache License, Version 2.0 (the 'License');
7  │ │  * you may not use this file except in compliance with the License.
8  │ │  * You may obtain a copy of the License at
9  │ │  *
10 │ │  *   http://www.apache.org/licenses/LICENSE-2.0
11 │ │  *
12 │ │  * Unless required by applicable law or agreed to in writing, software
13 │ │  * distributed under the License is distributed on an 'AS IS' BASIS,
14 │ │  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 │ │  * See the License for the specific language governing permissions and
16 │ │  * limitations under the License.
17 │ └  */
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/diff_match_patch.dart

INFO: Prefer using /// for doc comments.

lib/src/api.dart:1:1

   ╷
1  │ ┌ /**
2  │ │  * Copyright 2011 Google Inc.
3  │ │  * Copyright 2014 Boris Kaul <localvoid@gmail.com>
4  │ │  * http://github.com/localvoid/diff-match-patch
5  │ │  *
6  │ │  * Licensed under the Apache License, Version 2.0 (the 'License');
7  │ │  * you may not use this file except in compliance with the License.
8  │ │  * You may obtain a copy of the License at
9  │ │  *
10 │ │  *   http://www.apache.org/licenses/LICENSE-2.0
11 │ │  *
12 │ │  * Unless required by applicable law or agreed to in writing, software
13 │ │  * distributed under the License is distributed on an 'AS IS' BASIS,
14 │ │  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 │ │  * See the License for the specific language governing permissions and
16 │ │  * limitations under the License.
17 │ └  */
   ╵

To reproduce make sure you are using pedantic and run dartanalyzer lib/src/api.dart

Support up-to-date dependencies
20 / 20

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

No dependencies.

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

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

0
likes
80
pub points
84%
popularity

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

Repository
View/report issues

Documentation

API reference

Uploaders

localvoid@gmail.com
jheyne@gmail.com

License

Apache 2.0 (COPYING)

More

Packages that depend on diff_match_patch