摘要
非编译成份包括注释、程序书写风格和命名规则等几个部分,其中程序书写风格可分为空白行、行缩进和换行等。合理地使用非编译成份,可以提高程序的可读性、可理解性、可修改性、可维护性等质量特性。然而,只有高质量的非编译成份才能起到期望的效果。本文旨在提出一种非编译成份的评价方法,促进这些成份质量的提高。在介绍每一种非编译成份后,分别提出了针对这些成份的度量方法。最后,采用加权合成的方式,得到非编译成份的整体度量。
The non-compilation composition includes the comments, the program writing style, and the naming rule. Program writing style contains blank row, row retraction, and newline, etc. Felicitous non-compilation composition can improve the program quality factors such as readability, intelligibility, modifiability, maintainability, etc. However, only high quality non-compilation composition achieves the expected purpose. This paper intends to put forward a way to assess and improve the quality of non-compilation composition. After introducing every non-compilation composition, this paper puts forward a measurement method for each composition. Finally, it gains the whole measurement of non-compilation through the way of composing weighted credits.
出处
《计算机工程与科学》
CSCD
北大核心
2009年第4期113-116,共4页
Computer Engineering & Science
关键词
非编译成份
度量
质量
non-compilation composition
measurement
quality