lua_dardo 0.0.5  lua_dardo: ^0.0.5 copied to clipboard
lua_dardo: ^0.0.5 copied to clipboard
A Lua virtual machine written in Dart, which implements Lua5.3 version.
We analyzed this package 2 days ago, and awarded it 115 pub points (of a possible 160):
 10/10 points: Provide a valid
 10/10 points: Provide a valid pubspec.yaml
 0/5 points: Provide a valid
 0/5 points: Provide a valid README.md
Links in `README.md` should be secure. 1 link is insecure.
README.md:4:107
  ╷
4 │ <p>A Lua virtual machine written in <a href="https://github.com/dart-lang/sdk">Dart</a>, which implements <a href="http://www.lua.org/manual/5.3/">Lua5.3</a> version.</p>
  │                                                                                                           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵
Use https URLs instead.
 5/5 points: Provide a valid
 5/5 points: Provide a valid CHANGELOG.md
 10/10 points: Use an OSI-approved license
 10/10 points: Use an OSI-approved license
Detected license: Apache-2.0.
 0/10 points: 20% or more of the public API has dartdoc comments
 0/10 points: 20% or more of the public API has dartdoc comments
7 out of 136 API elements (5.1 %) have documentation comments.
Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API. Document at least 20% of the public API elements.
To highlight public API members missing documentation consider enabling the public_member_api_docs lint.
Some symbols that are missing documentation: debug, debug.LuaStateDebug, debug.LuaStateDebug.printStack, lua, lua.DartFunction.
 10/10 points: Package has an example
 10/10 points: Package has an example
 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)
 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:lua_dardo/debug.dartthat imports:
- package:lua_dardo/lua.dartthat imports:
- package:lua_dardo/src/api/lua_type.dartthat imports:
- package:lua_dardo/src/api/lua_state.dartthat imports:
- package:lua_dardo/src/state/lua_state_impl.dartthat imports:
- package:lua_dardo/src/stdlib/basic_lib.dartthat imports:
- dart:io
 0/0 points: WASM compatibility
 0/0 points: WASM compatibility
Package not compatible with runtime wasm
Because:
- package:lua_dardo/debug.dartthat imports:
- package:lua_dardo/lua.dartthat imports:
- package:lua_dardo/src/api/lua_type.dartthat imports:
- package:lua_dardo/src/api/lua_state.dartthat imports:
- package:lua_dardo/src/state/lua_state_impl.dartthat imports:
- package:lua_dardo/src/stdlib/basic_lib.dartthat 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.dev/web/wasm for details.
 30/50 points: code has no errors, warnings, lints, or formatting issues
 30/50 points: code has no errors, warnings, lints, or formatting issues
Found 93 issues. Showing the first 2:
WARNING: Unnecessary cast.
lib/src/state/lua_state_impl.dart:1009:17
     ╷
1009 │     return load(utf8.encode(s) as Uint8List, s, "bt");
     │                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^
     ╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/state/lua_state_impl.dart
WARNING: Unnecessary cast.
lib/src/stdlib/basic_lib.dart:182:37
    ╷
182 │       ThreadStatus status = ls.load(utf8.encode(chunk) as Uint8List, chunkName!, mode);
    │                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
    ╵
To reproduce make sure you are using the lints_core and run dart analyze lib/src/stdlib/basic_lib.dart
 0/10 points: All of the package dependencies are supported in the latest version
 0/10 points: All of the package dependencies are supported in the latest version
| Package | Constraint | Compatible | Latest | Notes | 
|---|---|---|---|---|
| sprintf | ^6.0.0 | 6.0.2 | 7.0.0 | 
To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.
The constraint `^6.0.0` on sprintf does not support the stable version `7.0.0`.
Try running dart pub upgrade --major-versions sprintf to update the constraint.
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 10/10 points: Package supports latest stable Dart and Flutter SDKs
 20/20 points: Compatible with dependency constraint lower bounds
 20/20 points: Compatible with dependency constraint lower bounds
pub downgrade does not expose any static analysis error.
Analyzed with Pana 0.23.0, Dart 3.9.4.
Check the analysis log for details.