基于构件的软件构建方法目前被广泛使用在软件开发中,用于减少软件开发的工程成本和加快软件开发进度.面向构件的系统主要由第三方提供的可重用构件或者内建的可重用构件组成,因此,系统的质量好坏和维护的难易程度依赖于构件的品质.一个软件修改会给其他构件甚至整个系统带来影响,而修改影响分析是控制和消除这类影响的有效手段.然而,现有的研究很少涉及构件软件的修改影响分析,尤其缺少对系统层面的修改影响分析研究.提出了一种基于模型的系统化修改影响分析方法,该方法的基本思路是:首先提出构件及系统层面的修改影响分析模型,然后根据分析模型分别从构件和系统两个层面对构件软件修改前后的版本进行修改识别,并且利用“防火墙”方法进行影响分析.理论分析和实验结果表明,该方法是可行的,也是有效的.
Component-Based software construction is a widely used approach in software development, to reduce the engineering effort and speed up the development cycle. Component-Based software systems consist of various components such as third-party components and in-house built components. Due to software changes, a component-based system is usually affected at both the component level and system level. Thus, a change impact analysis is needed to ensure the software quality and support maintenance. Existing research seldom addresses the issue of change impact analysis on component-based software, especially at a system level. This paper proposes a systematic approach to change impact analysis from the components to the system. Firstly, the change impact analysis models are proposed, and the change types are classified. Then, a change identification and an impact analysis are performed using a firewall approach based on the proposed models at both levels. The paper reports the case studies are based on a realistic component-based system. The study results show that the approach is feasible and effective.