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 language | English |
|---|---|
| Pages (from-to) | 18-30 |
| Number of pages | 13 |
| Journal | Journal of Harbin Institute of Technology (New Series) |
| Volume | 24 |
| Issue number | 4 |
| DOIs | |
| State | Published - 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
- APA
- Author
- BIBTEX
- Harvard
- Standard
- RIS
- Vancouver