Volume 7 Number 5 (May. 2012)
Home > Archive > 2012 > Volume 7 Number 5 (May. 2012) >
JSW 2012 Vol.7(5): 1109-1120
doi: 10.4304/jsw.7.5.1109-1120

Automatic Conversion of Structured Flowcharts into Problem Analysis Diagram for Generation of Codes

Xiang-Hu Wu , Ming-Cheng Qu , Zhi-Qiang Liu , Jian-Zhong Li

  • School of Computer Science and Technology, Harbin Institute of Technology, Harbin, 150001, China

Abstract

Compared with flowchart, problem analysisdiagram (PAD) can not only be used to describe thesequence of program but also the hierarchy structure. It isof great significance to automatically convert flowchart toPAD for generation of codes. There are some deficiencies inexisting researches, and their key algorithms andtechnologies are not elaborated. By analyzing thecharacteristics of PAD and structured flowchart, a codingstrategy is proposed, and a structure identification andcoding algorithm are put forward for structured flowdiagram and PAD. Based on the coding strategy atransformation algorithm which can transform flowchartinto a semantically equivalent PAD is proposed. Then byusing recursive algorithm the specific language code aregenerated from PAD. Finally a integrated developmentplatform is developed using such algorithms, includingflowchart modeling, code automatic generation, andCDT\GCC\GDB. The correctness and effectiveness ofcoding strategy and algorithm, the structuraltransformation from flowchart to PAD, and automaticgeneration of codes based on PAD have been verifiedthrough practical operations.

Keywords

  • Automatic
  • generation
  • of
  • codes;
  • structure
jsw0705-24

How to Cite

Copied

Xiang-Hu Wu, Ming-Cheng Qu, Zhi-Qiang Liu, and Jian-Zhong Li, "Automatic Conversion of Structured Flowcharts into Problem Analysis Diagram for Generation of Codes," Journal of Software, vol. 7, no. 5, pp. 1109-1120, 2012. https://doi.org/ 10.4304/jsw.7.5.1109-1120

Copyright & License

Copyright © 2012 by the authors. This is an open access article distributed under the Creative Commons Attribution License which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited (CC BY 4.0).

Article Metrics in Dimensions

General Information

  • ISSN: 1796-217X (Online)

  • Abbreviated Title: J. Softw.

  • Frequency:  Biannually

  • APC: 500USD

  • DOI: 10.17706/JSW

  • Editor-in-Chief: Prof. Antanas Verikas

  • Executive Editor: Ms. Cecilia Xie

  • Abstracting/ Indexing: DBLP, CNKI, 

  • Google Scholar, ProQuest,
           INSPEC(IET), ULRICH's Periodicals
           Directory, WorldCat, etc

  • E-mail: editor@jsoftware.us

  • Aug 27, 2026 News!

    Vol 21, No 1 has been published with online version

  • Mar 30, 2026 News!

    Vol 20, No 2 has been published with online version   [Click]

  • Apr 01, 2024 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Apr 01, 2024 News!

    Papers published in JSW Vol 18, No 1- Vol 18, No 6 have been indexed by DBLP   [Click]

  • Mar 07, 2025 News!

    JSW had implemented online submission system   [Click]