节点文献

面向设计流图的代码支撑工具

An Supporting Tool Based on Design Flowchart

  • 推荐 CAJ下载
  • PDF下载
  • 不支持迅雷等下载工具,请取消加速工具后下载。

【作者】 戴清涵李宣东赵建华郑国梁

【Author】 DAI Qing-Han;LI Xuan-Dong;ZHAO Jian-Hua;ZHENG Guo-Liang Department of Computer Science and Technology, NanJing University, Nanjing 210093

【机构】 南京大学计算机科学与技术系南京大学计算机科学与技术系 南京 210093南京 210093

【摘要】 在通信网络软件中,代码的可靠性格外重要,编码与测试在很大程度上决定着代码的可靠性。如果让机器自动生成代码,将会减少人工编码出错的概率,而且,也为代码的跟踪、测试提供了方便。为此,本文结合UML的相关理论,提出了设计流图的概念并描述基于设计流图的代码生成的原理及其应用。本文首先描述设计流图在软件开发过程中的作用;然后,给出设计流图的形式化定义;第3部分给出代码自动生成算法;第4部分给出基于设计流图的跟踪、测试方法,最后一部分对工具作了简要的介绍。本文详细描述了如何根据设计流图生成代码,并简要介绍实现基于设计流图的跟踪与测试。本文还实现了一个集成开发环境 AutoCodeGen,在该环境中可以编辑设计流图、对设计流图进行简单的检查、编译设计流图(生成代码)、编译代码、执行设计流图(执行编译后的代码)、基于设计流图的跟踪与测试(动态显示执行路径、当前执行点、路径覆盖情况、异常点位置等)。在实践中,利用该工具实现了 TCAP(Trans-action Capabilities Application Part)协议中部分编码与解码。

【Abstract】 The stability of telecom system is especially important. Coding and testing affect the stability of code. Ma- chine-generated code will contain less bugs than manual-typed code, and the former provides convenience for tracing and testing. For the sake of stability, this paper puts forward the concept of Design Flowchart through referencing UML. related theory. This paper also describes the theory and application of auto generating code based on Design Flowchart. The first part of this paper is about the advantage of Design Flowchart in software development. The sec- ond part is about the concept of Design Flowchart. The auto-generated-code algorithm is written in the third part. The forth part describes the tracing and testing. The last part introduces the relative tool. This paper describes how to auto generate code from Design Flowchart in detail and how to trace and test the generated code in simple. This paper also realizes an IDE named AutoCodeGen. Some work can be done in the IDE, sueh as editing flowchart, checking flow- chart, compiling flowchart, compiling code, executing flowchart (executing the compiled code), tracing and testing based on flowchart. In practice, AutoCodeGen is used to generate part of code of TCAP protocol.

【关键词】 设计流图任务节点转换边
【Key words】 Design flowchartTask nodeTransmit edge
【基金】 国家自然科学基金(6027036,602339291);863计划(2002AA116090);江苏省自然科学基金(BK2002079)
  • 【文献出处】 计算机科学 ,Computer Science , 编辑部邮箱 ,2005年11期
  • 【分类号】TP311.52
  • 【被引频次】4
  • 【下载频次】35
节点文献中: 

本文链接的文献网络图示:

本文的引文网络