可视化图形编程语言的代码审查集成

 2022-01-26 11:01

论文总字数:22827字

摘 要

代码审查是软件工程实践中保证项目代码质量的关键手段之一,自从被提出来,经过实践检验,在软件开发过程中得到了广泛的应用。就目前来看,大多数代码审查流程和代码审查工具都是默认以文本编程语言为主要对象,所以其文件比较审查注释映射的都是以文本的思维模式设计的。随着图形化编程语言应用的越来越广泛,加之其易学直观的特性以及在测试测量、控制、嵌入式、快速开发的领域的优越性,合理高效的图形化编程语言的代码审查流程和工具也越来越被人们所需要。然而,以文本思维模式设计的代码审查工具难以真正满足图形化编程语言项目的代码审查工作,因此本文以LabVIEW作为图形化编程语言的代表,通过调查LabVIEW项目中代码审查流程,提出了一个相对高效可行的图形化编程语言代码审查流程并且实现了支持该流程方法的审查工具插件。

本文的主要内容包括:1. 调查分析当前图形化编程语言代码审查流程的瓶颈。2. 通过解决关键问题突破瓶颈,提出了一个图形化编程语言的代码审查流程方法,该方法对照文本编程语言代码审查流程,集合了文本编程语言的代码审查流程的简洁与图形化编程语言代码的直观特性,来提升图形化编程语言代码审查过程的体验。3.基于上述提出的代码审查流程,以LabVIEW和review board为例,实现了一款将Review board整合到LabVIEW开发环境的插件原型。4.对该插件进行了实例研究,证明了该流程的可行性和易用性。

关键词:软件工程; 代码审查; 图形化编程语言;LabVIEW;

Integration of graphical programming language with code review process

Abstract

Code review is one of the most important means to ensure the quality of project code and software. Since being put forward, code review has been widely used in software development after the test of practice. At present, most code review process and code review tool think text programming language as the default object, so file comparison tool and review comments mapping are design by the thought mode of text programming language. With the graphical programming language widespread use and advantage in test and measurement, control, embedded, rapidly developing field, reasonable and efficient graphical programming language code review processes and tools are needed. However code review tool designed in text programming language cannot meet the requirement of graphical programming language code review. Therefore this paper with LabVIEW as the graphics of representative of the programming language, investigate the code review process in LabVIEW project and proposed a efficient and feasible way to review LabVIEW code. This paper also implement a graphical code review tool plug in to support the code review process.

The main content of this paper is: 1. investigation of the current graphical programming language code review process and analysis bottlenecks. 2. By solving key problems, a graphical programming language code review process methods are put forward. The method enhance the experience of graphical programming language code review process. Because it combine the simplicity of text programming language code review process and the anschaubarkeit of graphical programming language code. 3. Based on the proposed code review process, I proposed a prototype of integration of review board to LabVIEW. 4. Feedback and discussion on behavior, performance and expansibility.

Keywords: Software Engineering, Code Review, Graphical Programming Language, LabVIEW

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1 代码审查 1

1.2 可视化图形编程语言LabVIEW 2

1.3 代码审查工作在使用LabVIEW的软件工程实践中的现状 2

1.4 将代码审查工具集成到LabVIEW开发环境的意义 5

1.5 本文结构 5

第二章 LabVIEW代码审查流程的提出与可行性调查 7

2.1 当前LabVIEW代码审查流程现状分析 7

2.2 提出一种LabVIEW代码审查的工作流程 8

2.3 可行性调查 9

2.3.1 Review Board 9

2.3.2 LabVIEW开发环境 10

2.4 本章小结 10

第三章 系统介绍 11

3.1 概念介绍 11

3.2. 相关技术介绍 11

3.3. 需求说明 13

3.4. 需求分析 18

3.5. 本章小结 20

第四章 方案设计 21

4.1 方案一,LabVIEW开发环境内置代码审查工具客户端 21

4.1.1 方案说明 21

4.1.2 系统详细设计 22

4.2 方案二,通过web实现LabVIEW代码审查流程 24

4.2.1 方案说明 24

4.2.2 系统详细设计 25

4.3 方案比较 25

4.4 本章小结 25

第五章 总结和相关讨论 26

5.1 总结 26

5.2 易用性讨论 26

5.3 可拓展性讨论 26

致谢 27

参考文献 28

第一章 绪论

代码审查

Karl E. Wiegers,世界著名软件工程大师,以需求、项目管理、过程改进等领域的研究和实践著称,在其《The soft side of peer reviews》一书中开篇声明:“同级评审——软件交付物原作者以外的其他工程师帮忙检查缺陷、促进提升的一种活动——是最有效的提高软件质量的工具之一。同级评审的方法包括审查、走查、同级桌查、以及其他类似的活动。在从同级评审中受益了将近15年之后,我绝不再愿意在一个不做同级评审的团队里工作。我坚信,同级之间的代码评审是你为提高代码质量所能做的最大的贡献。”

在软件开发过程中,软件质量是每位工程师所追求的,软件工程方法的目标也是生产出高质量的软件,故软件质量保证(SQA)在软件工程中至关重要。在整个软件过程中采用的正式技术复审是软件质量保证活动中处于核心的一环。正式技术复审是一种由软件工程师进行的软件质量保证活动。通常情况下,正式技术复审以发现软件中任何一种表现形式的功能、逻辑或实现的错误,保证软件的表示符合预定义的标准,得到以一种一致的方式开发的软件,使项目更易于管理为目标,包括走查、审查、轮查以及小组审查等活动。Karl所说的同级评审也是从事正式技术复审的一种有效方法。

剩余内容已隐藏,请支付后下载全文,论文总字数:22827字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;