检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
作 者:戴清涵[1] 李宣东[1] 赵建华[1] 郑国梁[1]
机构地区:[1]南京大学计算机科学与技术系,南京210093
出 处:《计算机科学》2005年第11期203-206,共4页Computer Science
基 金:国家自然科学基金(6027036;602339291);863计划(2002AA116090);江苏省自然科学基金(BK2002079)
摘 要:在通信网络软件中,代码的可靠性格外重要,编码与测试在很大程度上决定着代码的可靠性。如果让机器自动生成代码,将会减少人工编码出错的概率,而且,也为代码的跟踪、测试提供了方便。为此,本文结合UML的相关理论,提出了设计流图的概念并描述基于设计流图的代码生成的原理及其应用。本文首先描述设计流图在软件开发过程中的作用;然后,给出设计流图的形式化定义;第3部分给出代码自动生成算法;第4部分给出基于设计流图的跟踪、测试方法,最后一部分对工具作了简要的介绍。本文详细描述了如何根据设计流图生成代码,并简要介绍实现基于设计流图的跟踪与测试。本文还实现了一个集成开发环境 AutoCodeGen,在该环境中可以编辑设计流图、对设计流图进行简单的检查、编译设计流图(生成代码)、编译代码、执行设计流图(执行编译后的代码)、基于设计流图的跟踪与测试(动态显示执行路径、当前执行点、路径覆盖情况、异常点位置等)。在实践中,利用该工具实现了 TCAP(Trans-action Capabilities Application Part)协议中部分编码与解码。The stability of telecom system is especially important. Coding and testing affect the stability of code. Machine-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 second 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, such as editing flowchart, checking flowchart, 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.
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.28