检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]吉林大学计算机科学与技术学院,长春130012
出 处:《计算机工程与应用》2005年第25期28-33,共6页Computer Engineering and Applications
基 金:国家自然科学基金(编号:69903005);国家863高技术研究发展计划(编号:2003AA118020)
摘 要:从源码中抽取设计模式对于提高软件可理解性和可维护性、软件设计重用以及软件重构具有重要意义。文章面向Java语言提出了一个从源码中抽取设计模式的方法。具体地,研究了一种特定的设计模式描述方法、定义了源码信息模型及其化简方法,以此为基础提出了设计模式模型和源码模型的匹配方法。特别讨论了在抽取设计模式时与container类相关的问题及其解决方案。最后根据抽取结果从模式及其实例的角度对方法进行了评价,并提出了必要的优化技术。Identifying design patterns from source code is one of the most promising methods for improving software maintainability,reusing experience and facilitating software refactoring.In this paper,an approach of detecting design patterns from java source code is presented,We have described a method of presenting design pattern and defining a source information model and its extraction mechanism.Through matching pattern model and source information model,an algorithm of detecting pattern instances is illustrated with examples.Especially,we have explained container problem that come across in design pattern detection and resolution of it.Finally,the results of executing the search algorithm are analyzed and optimized as far as the relation between design patterns and design pattern instances are concerned.
分 类 号:TP311[自动化与计算机技术—计算机软件与理论]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.177