摘要
构件软件相较于传统软件系统有更快的演化速度,对其变更进行有效的度量将有利于后期的维护活动。本文分别针对代码可见及不可见两种类型的构件,运用改进的构件依赖图建模,表示构件软件系统。分两步分析构件变更所带来的风险:首先在计算变更比例的基础上度量单个构件的变更风险,再通过将构件依赖图转化成构件依赖树来计算变更的构件集给系统所带来的风险。此外,结合实例系统的分析给出了所提出的变更风险度量的若干性质。
Compared with the traditional software systems, component-based sottware evolves more rapidly ttt cycle. The effective measurement plays crucial role in the latter maintenance activities for component-based software. For two types of components, i. e. , visible-code component or invisible-Code component, the paper analyzes its com- plex and failure results, then modeling the whole system via the improved component dependency graph. Based on the above model representation, two-step algorithm is proposed to calculate the system's change risk. At first, the change risk of single component is measured through calculating the change ratio. Secondly, the whole system's change risk aroused from some changed components is ranked by conversing component dependency graph to component dependency tree. Additionally, a case study is implemented to valid the presented method and some properties of that metric is also addressed.
出处
《计算机科学》
CSCD
北大核心
2008年第1期274-277,共4页
Computer Science
基金
国家自然科学基金项目(70571025)
教育部高等学校博士点基金(20060487005)
湖北省自然科学基金(2005ABA266)资助
关键词
构件软件
变更风险
构件依赖图
构件依赖树
Component-based software, Change risk, Component dependency graph, Component dependency tree