Skip to main navigation Skip to search Skip to main content

A Novel Algorithm of Error Check and Code Generation for Structured Flowchart

Research output: Contribution to journalArticlepeer-review

Abstract

Structured flowchart (SFC) and Automatic code generation based on SFC (CG-SFC) have been widely used in software requirements, design and testing phases. Some CG-SFC tools such as Rhapsody have the ability to build flowchart and generate code, but they do not check whether a given flowchart is correct or structural. For unstructured error 'goto' statements will be generated randomly. We proposed three algorithms and some error recognition criteria to solve those problems. Structure recognition algorithm can recognize Selection, While/for and do-while structures. Error recognition algorithm incorporating criteria can check all the errors. At last, we develop a CG-SFC system, and compared with existing Rhapsody, it shows that the proposed algorithms are correct and effective.

Original languageEnglish
Pages (from-to)18-30
Number of pages13
JournalJournal of Harbin Institute of Technology (New Series)
Volume24
Issue number4
DOIs
StatePublished - 1 Aug 2017

Keywords

  • Code generation
  • Error check
  • Feature recognition
  • Structured flowchart

Fingerprint

Dive into the research topics of 'A Novel Algorithm of Error Check and Code Generation for Structured Flowchart'. Together they form a unique fingerprint.

Cite this