面向对象软件度量工具的软件结构
A FLEXIBLE ARCHITECTURE IN A MEASUREMENT TOOL TOWARDS PROGRAMS WRITTEN IN OO LANGUAGES
-
摘要: 利用软件度量工具度量程序源代码的各类质量属性是提高程序质量的一个重要方法 .目前 ,面向对象语言已逐渐成为主流编程语言 ,度量基于对象技术的软件成为必然的需求 .然而 ,由于面向对象语言数目众多 ,许多面向对象语言又都在发展中 ,用户所需要的度量也不尽相同 ,各种分散的需求对度量工具的灵活性与通用性提出了挑战 .首先给出了一个适用于 OO语言软件度量工具的一个灵活的软件结构 ,然后在分析了各类软件度量的基础上 ,解析了该结构的核心 ,度量中间表示库的结构 .最后总结了该结构的特点和实用性Abstract: 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.
下载: