We released YAKINDU Statechart Tools (now itemis CREATE) Standard and Professional Edition version 3.3.0 today! In the last three months, our team closed 126 issues in total. Here are the new and noteworthy changes in the new version:
The statechart image generator renders a statechart and all its subdiagrams, if any, as image files. The generator supports several pixel-based and vector-based image formats. It is configured via a generator model, just like all the other YAKINDU generators:
GeneratorModel for yakindu::images { statechart CoffeeMachine { feature Outlet { targetProject = "coffeemachine" targetFolder = "images" } feature Renderer { format = "svg" } } }
Each time the underlying CoffeeMachine statechart is changed, this will create SVG images of the statechart in the folder “images” in project “coffeemachine”.
SCov is the new model coverage feature and part of YAKINDU Statechart Tools (now itemis CREATE) Professional Edititon. When a SCTUnit test is executed, SCov will automatically trace all model elements that are executed during a test run. A model element that is fully executed is colored in green, elements that are not executed are colored in red and partly executed model elements are colored in yellow.
The first version supports state activation and transition coverage. Coverage of state local reactions is currently not supported. The upcoming version will also take local reactions into account.
The C Domain now offers a further annotation: @ShortCIdentifiers helps you to keep the generated code compliant to rules which require C identifiers not to be longer than 31 characters. To achieve this, instead of shortening names which are part of a statechart’s API, YAKINDU Statechart Tools (now itemis CREATE) gives feedback about the names that will be generated and warns if any user input results in C Code that is non-compliant with the 31 character rule. This puts the user in charge of the naming scheme and keeps the resulting C identifiers predictable.