DS STM Models

When implementing model-based refactoring, two key input artifacts form the foundation: the DS (Data Simplifier) and STM (State Machine) files.

DS Model

The DS File represents data structures. including metadata such as structure definitions, system linkage, and headers. Key elements include:

  • Groups: Represent hierarchical structures.
  • Elementary Items: Represent individual fields.

STM Model

The STM File describes program logic, including methods and state machine definitions. Common elements include:

  • Processes: Represent methods or workflows.
  • Statements: Cover logic constructs like loops, assignments, and conditionals.
  • Expressions: Represent subparts of statements, such as literals or operators.