在软件维护和演化的工业实践中,软件设计者往往依赖主观经验或直觉对软件的设计进行修改来应对变化的需求。但这导致了决策随意性和不可重现性。结合质量属性的度量将软件设计决策进行量化,从而显式地表示、记录这些经验和直觉。并通过记录所有备选的修改,用于指导将来的软件演化。给出一个基于质量属性度量和决策历史的设计决策优选方法框架,结合一个工业应用的实例进行分析,并讨论了实际应用的效果和可能的改进。
Software designers tend to modify the design of software relying on their experiences or intuition to tackle the requirements of variation in their industrial practices of software maintenance and evolution.Such experiential practices usually result in arbitrary and un-repeatable decisions.In the paper the software design decisions are quantified in combination with quality attribute-based metric,so that the implicit experiences and intuitions can be explicitly represented and documented.The software evolution in the future is to be guided by a repository of all possible candidate solutions.A methodological framework is proposed for prioritizing and choosing design decisions,which is based on assessment of quality attributes and design decision history.Finally,analysis is conducted with an example of industrial application,and the effectiveness practical application and possible improvement of our method is discussed as well.