fsm2 2.0.7 copy "fsm2: ^2.0.7" to clipboard
fsm2: ^2.0.7 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.

140/ 160
pub points
327
downloads

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

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

Partially passed check 10/10 points: Provide a valid pubspec.yaml

Homepage URL doesn't exist.

At the time of the analysis https://noojee.gitbook.io/fsm2/ was unreachable. Make sure that the website is reachable via HEAD requests.

Documentation URL doesn't exist.

At the time of the analysis https://noojee.gitbook.io/fsm2/ was unreachable. Make sure that the website is reachable via HEAD requests.

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

86 out of 182 API elements (47.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

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/export/mermaid.dart:29:36

   ╷
29 │   /// var terminalsOwnedByRegion = <Type, List<int>>{};
   │                                    ^^^^^^^^^^^^^^^^
   ╵

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

INFO: Angle brackets will be interpreted as HTML.

lib/src/export/smcat.dart:40:36

   ╷
40 │   /// var terminalsOwnedByRegion = <Type, List<int>>{};
   │                                    ^^^^^^^^^^^^^^^^
   ╵

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

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
completer_ex ^3.0.0 3.0.0 4.0.3
dcli ^1.6.2 1.36.2 8.3.0
logger ^1.0.0 1.4.0 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 ^2.0.0 2.0.0 3.0.0
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 3.6.1 4.0.7
args - 2.7.0 2.7.0
async - 2.13.0 2.13.0
basic_utils - 3.9.4 5.8.2
boolean_selector - 2.1.2 2.1.2
characters - 1.4.1 1.4.1
chunked_stream - 1.4.2 1.4.2
circular_buffer - 0.11.0 0.12.0
clock - 1.1.2 1.1.2
collection - 1.19.1 1.19.1
convert - 3.1.2 3.1.2
crypto - 3.0.7 3.0.7
csv - 5.1.1 6.0.0
dart_console2 - 2.0.1 3.1.1 Discontinued
dcli_core - 1.36.2 8.3.0
equatable - 2.0.8 2.0.8
ffi - 2.1.5 2.1.5
file - 6.1.4 7.0.1
file_utils - 1.0.1 1.0.1 Discontinued
functional_data - 1.2.0 1.2.0
glob - 2.1.3 2.1.3
globbing - 1.0.0 1.0.0 Discontinued
http - 0.13.6 1.6.0
http_parser - 4.1.2 4.1.2
ini - 2.1.0 2.1.0
intl - 0.17.0 0.20.2
js - 0.7.2 0.7.2 Discontinued
json2yaml - 3.0.1 3.0.1
json_annotation - 4.9.0 4.9.0
logging - 1.3.0 1.3.0
matcher - 0.12.18 0.12.18
mime - 1.0.6 2.0.0
pointycastle - 3.9.1 4.0.0
posix - 4.1.0 6.0.3
pub_semver - 2.2.0 2.2.0
pubspec2 - 2.4.2 4.0.0 Discontinued
pubspec_lock - 3.0.2 3.0.2
quiver - 3.2.2 3.2.2
random_string - 2.3.1 2.3.1
scope - 3.0.0 5.1.0
settings_yaml - 4.0.1 8.3.1
simple_logger - 1.10.0 1.10.0
source_span - 1.10.1 1.10.1
stack_trace - 1.12.1 1.12.1
stream_channel - 2.1.4 2.1.4
string_scanner - 1.4.1 1.4.1
sum_types - 0.3.5 0.4.0
system_info2 - 2.0.4 4.1.0
term_glyph - 1.2.2 1.2.2
test_api - 0.7.9 0.7.9
typed_data - 1.4.0 1.4.0
uuid - 3.0.7 4.5.2
validators2 - 3.0.0 5.1.0
vin_decoder - 0.2.1-nullsafety 0.2.1-nullsafety
win32 - 3.1.4 5.15.0
yaml - 3.1.3 3.1.3

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

Found 5 issues. Showing the first 2:

The constraint `^3.0.0` on completer_ex does not support the stable version `4.0.0`.

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

The constraint `^1.6.2` on dcli does not support the stable version `2.0.1`.

Try running dart pub upgrade --major-versions dcli 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.23.5, Dart 3.10.7.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
18
likes
140
points
327
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

completer_ex, dcli, logger, meta, path, stacktrace_impl, synchronized, tree_iterator

More

Packages that depend on fsm2