fsm2 3.3.1 copy "fsm2: ^3.3.1" to clipboard
fsm2: ^3.3.1 copied to clipboard

FSM2 provides an implementation of the core design aspects of the UML state diagrams allowing both declarative transitions and dynamic transitions along with Guard Conditions.

135/ 160
pub points
648
downloads

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

Failed report section
Follow Dart file conventions
25 / 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

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

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

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: BSD-2-Clause.

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

95 out of 189 API elements (50.3 %) have documentation comments.

Some symbols that are missing documentation: fsm2, fsm2.CoRegionBuilder, fsm2.CoRegionBuilder.CoRegionBuilder.new, fsm2.DuplicateStateException.DuplicateStateException.new, fsm2.DuplicateStateException.message.

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:fsm2/fsm2.dart that imports:
  • package:fsm2/src/visualise/watch_folder.dart that imports:
  • dart:io

Failed check 0/0 points: WASM compatibility

Package not compatible with runtime wasm

Because:

  • package:fsm2/fsm2.dart that imports:
  • package:fsm2/src/visualise/watch_folder.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.

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 6 issues. Showing the first 2:

INFO: Use 'const' with the constructor to improve performance.

lib/src/state_machine.dart:36:24

   ╷
36 │   final initialEvent = InitialEvent();
   │                        ^^^^^^^^^^^^^^
   ╵

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

/tmp/pana_CYDQUW/lib/src/export/dot.dart doesn't match the Dart formatter.

To format your files run: dart format .

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

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

Package Constraint Compatible Latest Notes
args ^2.4.2 2.7.0 2.7.0
completer_ex ^4.0.0 4.0.3 4.0.3
dcli_core ^7.0.3 7.2.0 8.0.0
dcli_terminal ^7.0.3 7.2.0 8.0.0
logger ^2.0.1 2.6.2 2.6.2
meta ^1.6.0 1.17.0 1.17.0
path ^1.7.0 1.9.1 1.9.1
stacktrace_impl ^2.0.1 2.3.0 2.3.0 Discontinued
synchronized ^3.0.0 3.4.0 3.4.0
tree_iterator ^3.0.0 3.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
async - 2.13.0 2.13.0
characters - 1.4.1 1.4.1
circular_buffer - 0.12.0 0.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
crypto - 3.0.6 3.0.6
dart_console - 4.1.2 4.1.2
dcli_common - 7.2.0 8.0.0
ffi - 2.1.4 2.1.4
fixnum - 1.1.1 1.1.1
intl - 0.20.2 0.20.2
logging - 1.3.0 1.3.0
scope - 5.1.0 5.1.0
simple_logger - 1.10.0 1.10.0
sprintf - 7.0.0 7.0.0
stack_trace - 1.12.1 1.12.1
typed_data - 1.4.0 1.4.0
uuid - 4.5.1 4.5.1
win32 - 5.15.0 5.15.0

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

Found 3 issues. Showing the first 2:

The constraint `^7.0.3` on dcli_core does not support the stable version `8.0.0`, that was published 1 days ago.

When dcli_core is 30 days old, this package will no longer be awarded points in this category.

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

The constraint `^7.0.3` on dcli_terminal does not support the stable version `8.0.0`, that was published 1 days ago.

When dcli_terminal is 30 days old, this package will no longer be awarded points in this category.

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

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.24, Dart 3.9.4.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
18
likes
135
points
648
downloads

Publisher

verified publisheronepub.flutter-io.cn

Weekly Downloads

FSM2 provides an implementation of the core design aspects of the UML state diagrams allowing both declarative transitions and dynamic transitions along with Guard Conditions.

Homepage
Repository (GitHub)
View/report issues

Documentation

Documentation
API reference

License

BSD-2-Clause (license)

Dependencies

args, completer_ex, dcli_core, dcli_terminal, logger, meta, path, stacktrace_impl, synchronized, tree_iterator

More

Packages that depend on fsm2