chronosgl 4.0.2 copy "chronosgl: ^4.0.2" to clipboard
chronosgl: ^4.0.2 copied to clipboard

Platformweb

A simple WebGL2 engine written in Dart

7
likes
70/ 140
pub points
1%
popularity

We analyzed this package 42 hours ago, and awarded it 70 pub points (of a possible 140):

failed
Follow Dart file conventions
10 / 30trigger folding of the section

0/10 points: Provide a valid pubspec.yaml

The package description is too short.

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

0/5 points: Provide a valid README.md

Links in `README.md` should be secure. 1 link is insecure.

README.md:25:5

   ╷
25 │ <li><a href="http://chronosteam.github.io/ChronosGL/Examples/">Live Examples</a></li>
   │     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   ╵

Use https URLs instead.

Links in `README.md` should be secure. 2 image links are insecure.

README.md:2:1

  ╷
2 │ <img src="http://i.imgur.com/JkaU6LF.png" style="width: 600px;"/>
  │ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  ╵

Use https URLs instead.

0/5 points: Provide a valid CHANGELOG.md

No `CHANGELOG.md` found.

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

10/10 points: Use an OSI-approved license

Detected license: MIT.

failed
Provide documentation
0 / 20trigger folding of the section

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

51 out of 1414 API elements (3.6 %) 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.

Some symbols that are missing documentation: chronosgl, chronosgl.AnimatedSkeleton.globalTransforms, chronosgl.AnimatedSkeleton.skinningTransforms, chronosgl.BACKX, chronosgl.BACKY.

0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

OK
Platform support
20 / 20trigger folding of the section

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

  • ✓ Web

These platforms are not supported:

Package not compatible with platform Android

Because:

  • package:chronosgl/chronosgl.dart that imports:
  • package:chronosgl/src/scene/lib.dart that imports:
  • package:chronosgl/src/core/lib.dart that imports:
  • dart:web_gl
Package not compatible with platform iOS

Because:

  • package:chronosgl/chronosgl.dart that imports:
  • package:chronosgl/src/scene/lib.dart that imports:
  • package:chronosgl/src/core/lib.dart that imports:
  • dart:web_gl
Package not compatible with platform Windows

Because:

  • package:chronosgl/chronosgl.dart that imports:
  • package:chronosgl/src/scene/lib.dart that imports:
  • package:chronosgl/src/core/lib.dart that imports:
  • dart:web_gl
Package not compatible with platform Linux

Because:

  • package:chronosgl/chronosgl.dart that imports:
  • package:chronosgl/src/scene/lib.dart that imports:
  • package:chronosgl/src/core/lib.dart that imports:
  • dart:web_gl
Package not compatible with platform macOS

Because:

  • package:chronosgl/chronosgl.dart that imports:
  • package:chronosgl/src/scene/lib.dart that imports:
  • package:chronosgl/src/core/lib.dart that imports:
  • dart:web_gl
failed
Pass static analysis
30 / 50trigger folding of the section

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

Found 460 issues. Showing the first 2:

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/animation/skeleton_animation.dart:136:24

    ╷
136 │     if (_positionTimes == null || _positionTimes.length == 0) {
    │                        ^^^^^^^
    ╵

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

WARNING: The operand can't be null, so the condition is always 'false'.

lib/src/animation/skeleton_animation.dart:141:24

    ╷
141 │     if (_rotationTimes == null || _rotationTimes.length == 0) {
    │                        ^^^^^^^
    ╵

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

failed
Support up-to-date dependencies
10 / 20trigger folding of the section

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

Package Constraint Compatible Latest
js >=0.6.1 <0.7.0 0.6.7 0.7.1
js_bindings ^0.1.2+1 0.1.2+2 0.1.2+2
vector_math ^2.1.4 2.1.4 2.1.4
Transitive dependencies
Package Constraint Compatible Latest
meta - 1.14.0 1.14.0

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

The constraint `>=0.6.1 <0.7.0` on js does not support the stable version `0.7.0`.

Try running dart pub upgrade --major-versions js to update the constraint.

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

Analyzed with Pana 0.22.3, Dart 3.3.3.

Check the analysis log for details.

7
likes
70
pub points
1%
popularity

Publisher

unverified uploader

A simple WebGL2 engine written in Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

js, js_bindings, vector_math

More

Packages that depend on chronosgl