摘要
利用软件度量工具度量程序源代码的各类质量属性是提高程序质量的一个重要方法 .目前 ,面向对象语言已逐渐成为主流编程语言 ,度量基于对象技术的软件成为必然的需求 .然而 ,由于面向对象语言数目众多 ,许多面向对象语言又都在发展中 ,用户所需要的度量也不尽相同 ,各种分散的需求对度量工具的灵活性与通用性提出了挑战 .首先给出了一个适用于 OO语言软件度量工具的一个灵活的软件结构 ,然后在分析了各类软件度量的基础上 ,解析了该结构的核心 ,度量中间表示库的结构 .
Software measurement tools are used in software development processes in order to improve software quality. As OO languages are becoming the mainstream programming languages, the requirement of measuring software written in OO language is emerging. But there are large numbers of OO languages and many of them are still changing. Besides, different users might want different metrics. All of these challenge the design of measurement tools. In this paper a flexible and generic architecture is given and its advantage is discussed. Based on the survey of OO languages and OO metrics, the kernel of this architecture and the structure of the intermediate representation are analyzed in detail. At last the characteristic and feasibility of the architecture are summarized.
出处
《计算机研究与发展》
EI
CSCD
北大核心
2000年第4期401-406,共6页
Journal of Computer Research and Development
基金
上海科技发展基金项目!(项目编号 985 115 0 2 8)
关键词
软件结构
软件重用
软件度量工具
面向对象
software measurement, software architecture, OO programming language , software reuse