计算机应用与软件2016,Vol.33Issue(3):18-26,9.DOI:10.3969/j.issn.1000-386x.2016.03.005
程序蓝图模型重构操作实例研究
RESEARCH ON REFACTORING OPERATION EXAMPLES OF PROGRAM BLUEPRINT MODEL
摘要
Abstract
Refactoring is a technique to improve the comprehensibility and maintainability of software systems by changing their internal structure without altering their external behavioural properties.Although traditional source-level refactoring has been supported by a lot of refactoring tools,the refactoring of complex software is very difficult and is prone to error.In view of this situation,we put forward a program blueprint model hierarchy-based refactoring.Taking into account the intuitive feature of a UML model,we proposed the refactoring operations and implementation examples of UML class diagram model on system architecture.These operations provide a strong support for the refactoring implemented on software framework architecture.We have researched deeply the method of procedure blueprint model using a tree structure to describe the program,and defined in this paper the refactoring operations correlated to procedure blueprint as well as showed some specific examples and procedures of these refactoring operations.Finally,from the procedure blueprint model the new source codes can be generated. Experimental results showed that the refactoring on UML model and procedure blueprint model hierarchy improves the abstraction level and ef-ficiency of refactoring.This method can effectively support the refactoring of complex software and reduce the error rate.关键词
重构/UML模型/过程蓝图模型/程序模型Key words
Refactoring/UML model/Procedure blueprint model/Program model分类
信息技术与安全科学引用本文复制引用
梁朋举,刘建宾,郑丽伟..程序蓝图模型重构操作实例研究[J].计算机应用与软件,2016,33(3):18-26,9.基金项目
北京市教委人才培养模式创新实验区项目(京教函[2009]630号);北京市教委科技计划面上项目(KM201311232013)。 ()