为了能够通过软件的源代码度量面向对象软件的适应性,提出了一个包含七个具体度量指标的软件适应性度量模型,并开发了在Java软件中提取各度量指标的支持工具FlexTool;为了避免通过手动调整大量软件源代码的方式度量软件适应性,使研究人员能够在不太了解软件实现细节的情况下对适应性进行度量,提出了将该适应性模型应用于软件版本的演化从而度量软件适应性的方法,并通过著名开源软件Ant的版本演化对该方法的合理性进行了验证。
In order to measure software flexibility based on object-oriented software' s source codes, this paper proposed a flexibility measurement model including 7 concrete measurement factors, and developed a tool which could extract all the measurement factors from a software coded by Java. Besides, in order to prevent researchers from measuring flexibility through changing source codes manually so that they could measure flexibility even though they were not very familiar with software's implementation details, this paper proposed a method which used the measurement model based on the software evolution to measure flexibility. In the end, validated that the measurement model and the method proposed were reasonable by using them to a famous open-source software called Ant.