polyline_decoded_kur 2.0.0
polyline_decoded_kur: ^2.0.0 copied to clipboard
Polyline encoding algorithm for encoding and decoding a list of coordinates
We analyzed this package 5 days ago, and awarded it 55 pub points (of a possible 160):
10/10 points: Provide a valid pubspec.yaml
Homepage URL doesn't exist.
At the time of the analysis https://github.com/sashvoncurtis/polyline.dart was unreachable. Make sure that the website is reachable via HEAD requests.
0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:66:49
╷
66 │ <p>Please file feature requests and bugs at the <a href="http://github.com/sashvoncurtis/polyline.dart/issues/new">issue tracker</a>.</p>
│ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
╵
Use https URLs instead.
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
3 out of 11 API elements (27.3 %) have documentation comments.
Some symbols that are missing documentation: polyline_decoded_kur.dart.Polyline, polyline_decoded_kur.dart.Polyline.Polyline.Distance, polyline_decoded_kur.dart.Polyline.decodedCoords, polyline_decoded_kur.dart.Polyline.distance, polyline_decoded_kur.dart.Polyline.encodedString.
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 22 issues. Showing the first 2:
ERROR: Undefined name 'NullThrownError'.
lib/src/polyline_decoded_kur.dart:196:13
╷
196 │ throw NullThrownError;
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/polyline_decoded_kur.dart
ERROR: Undefined name 'NullThrownError'.
lib/src/polyline_decoded_kur.dart:208:67
╷
208 │ _point1.map((item) => item != null ? _degToRad(item) : throw NullThrownError);
│ ^^^^^^^^^^^^^^^
╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/polyline_decoded_kur.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 3 errors:
UNDEFINED_IDENTIFIER-lib/src/polyline_decoded_kur.dart:196:13- Undefined name 'NullThrownError'.UNDEFINED_IDENTIFIER-lib/src/polyline_decoded_kur.dart:208:67- Undefined name 'NullThrownError'.UNDEFINED_IDENTIFIER-lib/src/polyline_decoded_kur.dart:209:67- Undefined name 'NullThrownError'.
Run dart pub downgrade and then dart 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.1.
Check the analysis log for details.