astar_dart 0.0.12 copy "astar_dart: ^0.0.12" to clipboard
astar_dart: ^0.0.12 copied to clipboard

a pathfinding implementation in Dart. Efficiently finds shortest paths on grids, supporting barriers and weights.

115/ 160
pub points
586
downloads

We analyzed this package 6 days ago, and awarded it 115 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
15 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

Failed to verify repository URL.

Please provide a valid repository URL in pubspec.yaml, such that:

  • repository can be cloned,
  • a clone of the repository contains a pubspec.yaml, which:,
    • contains name: astar_dart,
    • contains a version property, and,
    • does not contain a publish_to property.

pubspec.yaml from the repository URL mismatch: expected https://github.com/Sproute777/astar_dart but got https://github.com/s1r1m1r1/astar_dart.

Passed check 5/5 points: Provide a valid README.md

Failed check 0/5 points: Provide a valid CHANGELOG.md

`CHANGELOG.md` does not contain reference to the current version ("0.0.12").

Changelog entries help developers follow the progress of your package. Check out the Dart conventions for Maintaining a package changelog.

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

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

OUT: Resolving dependencies... Downloading packages...

  • _fe_analyzer_shared 85.0.0 (was 85.0.0) (89.0.0 available)
  • analyzer 7.7.1 (was 7.7.1) (8.2.0 available)
  • args 2.7.0 (was 2.7.0)
  • async 2.13.0 (was 2.13.0)
  • collection 1.19.1 (was 1.19.1)
  • convert 3.1.2 (was 3.1.2)
  • crypto 3.0.6 (was 3.0.6)
  • csslib 1.0.2 (was 1.0.2) [18 more lines] ERR: The current activation of dartdoc cannot resolve to the same set of dependencies.

Try reactivating the package. flutter pub global activate dartdoc Failed to update packages.

Passed check 10/10 points: Package has an example

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

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package not compatible with platform Web

Because:

  • package:astar_dart/astar_dart.dart that imports:
  • package:astar_dart/src/astar_square_grid.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:astar_dart/astar_dart.dart that imports:
  • package:astar_dart/src/astar_square_grid.dart that imports:
  • dart:io

This package is not compatible with runtime wasm, and will not be rewarded full points in a future version of the scoring model.

See https://dart.cn/web/wasm for details.

Failed report section
Pass static analysis
30 / 50trigger folding of the section

Failed check 30/50 points: code has no errors, warnings, lints, or formatting issues

Found 5 issues. Showing the first 2:

WARNING: Unused import: 'dart:io'.

lib/src/astar_square_grid.dart:1:8

  ╷
1 │ import 'dart:io';
  │        ^^^^^^^^^
  ╵

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

WARNING: The declaration '_estimateDistance' isn't referenced.

lib/src/astar_square_grid.dart:163:10

    ╷
163 │   double _estimateDistance(Point<int> target) {
    │          ^^^^^^^^^^^^^^^^^
    ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/src/astar_square_grid.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

Package Constraint Compatible Latest Notes
collection ^1.18.0 1.19.1 1.19.1
meta ^1.12.0 1.17.0 1.17.0

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.23, Dart 3.9.3.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
4
likes
115
points
586
downloads

Publisher

unverified uploader

Weekly Downloads

a pathfinding implementation in Dart. Efficiently finds shortest paths on grids, supporting barriers and weights.

Topics

#astar #path-finding

License

MIT (license)

Dependencies

collection, meta

More

Packages that depend on astar_dart