arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1610.02374cs.SE
收藏

应用于软件工程和其它系统的统一控制和数据流图

Unified Control and Data Flow Diagrams Applied to Software Engineering and other Systems

Igor Polkovnikov

摘要:

通常情况下,需要了解复杂计算机代码的结构:调用哪些函数以及调用它们的顺序,信息如何在静态变量、输入变量和输出变量之间传递,什么依赖于什么。通常,可执行代码和数据分散在多个文件甚至多个模块中。信息是在变量之间传递的,这些变量经常改变名称。这些错综复杂的关系极大地使代码的开发、维护和重新开发、复杂性分析及其健壮性复杂化。到目前为止,还没有一个工具能够呈现真实的、有用的实际代码图。传统的流程图失败了。提出了克服这些困难的方法。其主要思想是,软件的功能可以通过控制流来描述,控制流本质上是时间流和数据流。这些是不可分割的。第二个想法是遵循非常严格的系统边界和模块、函数、块和运算符以及数据持有者的区别,将它们都显示为子系统,换句话说,通过清晰地表达系统结构,当每段可执行代码和每个变量都有自己的图形表示时。第三个是将时间线定义为与连接的代码块明确分离的实体。时间线允许根据需要尽可能深地显示控制流的嵌套。作为概念验证,相同的方法成功地描述了生产系统。关键词:流程图,UML,软件图,可视化编程,极限编程,极限建模,控制流,数据流。

英文摘要:

More often than not, there is a need to understand the structure of complex computer code: what functions and in what order they are called, how information travels around static, input, and output variables, what depends on what. As a rule, executable code and data are scattered among multiple files and even multiple modules. Information is transmitted among variables which often change names. These tangled relations greatly complicate the development, maintenance, and redevelopment of code, its analysis for complexity and its robustness. As of now, there is no tool which is capable of presenting the real-life, useful diagram of actual code. Conventional flowcharts fail. Proposed is the method which overcomes these difficulties. The main idea is that functionality of software can be described through flows of control, which is essentially flows of time, and flows of data. These are inseparable. The second idea is to follow very strict system boundaries and distinctions with respect to modules, functions, blocks, and operators, as well as data holders, showing them all as subsystems, in other words, by clearly expressing the system structure when every piece of executable code and every variable may have its own graphical representation. The third is defining timelines as the entities clearly separated from the connected blocks of code. Timelines allow presentation of nesting of the control flow as deep as necessary. As a proof of concept, the same methods successfully describe production systems. Keywords: flowchart, UML, software diagram, visual programming, extreme programming, extreme modeling, control flow, data flow.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑