一种自动化软件设计改进方法  被引量:4

An Approach to Automated Software Design Improvement

在线阅读下载全文

作  者:冯铁[1] 张家晨[1] 王洪媛[1] 金淳兆[1] 

机构地区:[1]吉林大学计算机科学与技术学院符号计算与知识工程教育部重点实验室,吉林长春130012

出  处:《软件学报》2006年第4期703-712,共10页Journal of Software

基  金:国家自然科学基金;国家高技术研究发展计划(863);吉林大学985项目;吉林大学创新基金~~

摘  要:面向对象的软件设计改进是增强系统的可扩展性、使之适应可能的需求变化的一种有效手段.提出一种基于CBR(casebasedreasoning)和微体系结构反模式的设计改进方法.该方法形式化地定义了在微体系结构层中不灵活的设计结构和相应的重构方案的描述方法,研究了它们在事例库中的组织和索引机制.根据基于事例的推理技术的4R过程,提出了类图、顺序图、质量要素和语义约束的相似性度量方法,描述了在给定设计中识别反模式及其实例,并在此基础上,用高质量的设计方案进行替代的几种算法.以该方法为依据,进一步介绍了设计改进支撑系统——CBDIT(CBRbaseddesignimprovingtool)的体系结构的设计.Object-Oriented software design improving technology is an effective means to increase system flexibility for adapting to future requirement variation and expansion. In this paper, a software design improving approach, based on micro-architecture anti-pattern and case quality and maintainability. In this approach, problematic, based reasoning, is presented to improve software inflexible structures and corresponding refactoring alternatives at micro-architecture level are formally defined and described as cases. Their organization and index mechanism in the case base are studied. Following the 4R procedures of CBR, similarity measurement methods on class diagrams, sequence diagrams, OO quality metric factors, and semantic constraints are discussed. Based on the measurement results, some algorithms on identifying anti-patterns instances in a given original design and replacing them by designs with high quality are presented. Furthermore, a supporting system CBDIT is developed to aid this approach.

关 键 词:事例推理 设计模式 反模式 软件演化 重构 

分 类 号:TP311[自动化与计算机技术—计算机软件与理论]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象