yuka 0.0.2 copy "yuka: ^0.0.2" to clipboard
yuka: ^0.0.2 copied to clipboard

A dart conversion of Yuka a library for developing Game AI.

120/ 160
pub points
10
downloads

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

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

Passed check 10/10 points: Provide a valid pubspec.yaml

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: MIT.

Passed report section
Provide documentation
20 / 20trigger folding of the section

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

793 out of 1393 API elements (56.9 %) have documentation comments.

Some symbols that are missing documentation: a_star, a_star.AStar.compare, a_star.AStar.found, a_star.AStar.graph, a_star.AStar.source.

Passed check 10/10 points: Package has an example

Partially passed report section
Platform support
10 / 20trigger folding of the section

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

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

  • ✓ Web

These issues are present but do not affect the score, because they may not originate in your package:

Package not compatible with platform Web

Because:

  • package:yuka/yuka.dart that imports:
  • package:yuka/trigger/trigger.dart that imports:
  • package:yuka/trigger/regions/spherical_trigger_region.dart that imports:
  • package:yuka/trigger/trigger_region.dart that imports:
  • package:yuka/core/game_entity.dart that imports:
  • package:yuka/core/entity_manager.dart that imports:
  • package:yuka/core/message_dispatcher.dart that imports:
  • package:yuka/core/console_logger/console_platform.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

WASM compatibility:

Package not compatible with runtime wasm

Because:

  • package:yuka/yuka.dart that imports:
  • package:yuka/trigger/trigger.dart that imports:
  • package:yuka/trigger/regions/spherical_trigger_region.dart that imports:
  • package:yuka/trigger/trigger_region.dart that imports:
  • package:yuka/core/game_entity.dart that imports:
  • package:yuka/core/entity_manager.dart that imports:
  • package:yuka/core/message_dispatcher.dart that imports:
  • package:yuka/core/console_logger/console_platform.dart that imports:
  • package:logger/logger.dart that imports:
  • package:logger/src/outputs/advanced_file_output_stub.dart that imports:
  • dart:io

Note: This package supports Web but is not WASM-compatible, resulting in a partial score. 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 21 issues. Showing the first 2:

INFO: 'printTime' is deprecated and shouldn't be used. Use `dateTimeFormat` with `DateTimeFormat.onlyTimeAndSinceStart` or `DateTimeFormat.none` instead.

lib/core/console_logger/console_platform.dart:25:11

   ╷
25 │           printTime: true // Should each log print contain a timestamp
   │           ^^^^^^^^^
   ╵

To reproduce make sure you are using the lints_core and run flutter analyze lib/core/console_logger/console_platform.dart

INFO: Missing type annotation.

lib/core/event_dispatcher.dart:44:22

   ╷
44 │     void dispatchEvent( event ) {
   │                         ^^^^^
   ╵

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

Failed report section
Support up-to-date dependencies
20 / 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
http ^1.3.0 1.6.0 1.6.0
logger ^2.5.0 2.7.0 2.7.0
uuid ^4.4.0 4.5.3 4.5.3
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.1 2.13.1
characters - 1.4.1 1.4.1
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.7 3.0.7
fixnum - 1.1.1 1.1.1
http_parser - 4.1.2 4.1.2
material_color_utilities - 0.13.0 0.13.0
meta - 1.17.0 1.18.2
path - 1.9.1 1.9.1
source_span - 1.10.2 1.10.2
string_scanner - 1.4.1 1.4.1
term_glyph - 1.2.2 1.2.2
typed_data - 1.4.0 1.4.0
vector_math - 2.2.0 2.3.0
web - 1.1.1 1.1.1

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

Failed check 0/20 points: Compatible with dependency constraint lower bounds

flutter pub downgrade failed with:

OUT:
Resolving dependencies...
Downloading packages...
< async 2.5.0 (was 2.13.1)
+ charcode 1.2.0
< crypto 3.0.0 (was 3.0.7)
< fixnum 1.1.0 (was 1.1.1)
< http 1.3.0 (was 1.6.0)
< http_parser 4.0.0 (was 4.1.2)
< logger 2.5.0 (was 2.7.0)
< path 1.8.0 (was 1.9.1)
[12 more lines]
ERR:
Exceeded timeout of 0:02:00.000000

Run flutter pub downgrade and then flutter 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.12, Flutter 3.41.7, Dart 3.11.5.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
0
likes
120
points
10
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A dart conversion of Yuka a library for developing Game AI.

Repository (GitHub)
View/report issues

Topics

#threejs #games #ai #game-development #game-ai

License

MIT (license)

Dependencies

flutter, http, logger, uuid

More

Packages that depend on yuka