期刊文献+

面向Java语言的设计模式抽取方法的研究 被引量:8

Research on Design Pattern Detection Technology Towards Java
下载PDF
导出
摘要 从源码中抽取设计模式对于提高软件可理解性和可维护性、软件设计重用以及软件重构具有重要意义。文章面向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.
出处 《计算机工程与应用》 CSCD 北大核心 2005年第25期28-33,共6页 Computer Engineering and Applications
基金 国家自然科学基金(编号:69903005) 国家863高技术研究发展计划(编号:2003AA118020)
关键词 设计模式 逆向工程 程序理解 design pattern,reverse engineering,program understanding
  • 相关文献

参考文献20

  • 1A Ludwig,R Neumann,U Amann et al.Recoder homepage.http:// recoder.sf.net, 2001.
  • 2J Niere,W Schafer,J Wadsack et al.Towards pattem-based design recovery[C].In:Proc of the 24th International Conference on Software Engineering, Orlando, Florida, USA, 2002: 338-348.
  • 3Y-G Gueheneuc,N Jussien.Using explanations for design patterns identification[C].In:IJCAI'01 Workshop on Modelling and Solving problems with constraints,2001:57-64.
  • 4H Albin-Amiot,P Cointe,Y-G Gueheneuc et al.Instantiating and detecting design patterns:Putting Bits and Pieces Together[C].In:Proc of the 16th IEEE International Conference on Automated Software Engineefing(ASE '01 ) ,San Diego,California,2001:26-29.
  • 5R Ferenc,J Gustafsson,L Muller et al.Recognizing Design Patterns in C++ programs with the integration of Columbus and Maisa[J].Acta Cybemetica joumal,University of Szeged,2002; 15:669-682.
  • 6J Gustafsson,J Paakki,L Nenonen et al.Architecture-centric software evolution by software metrics and design patterns[C].In:Proceedings of the 6th European Conference on Software Maintenance and Reengineering(CSMR2002), Budapest, Hungary, 2002-03 : 108-115.
  • 7N Jussien,V Barichard.The Palm system:explanation-based constraint programming[C].In : Proc of TRICS: Techniques for Implementing Constraint programming Systems,a post conference workshop of CP 2000,Port Jefferson,N Y,USA,1997:339-353.
  • 8J Bansiya.DP++ is a tool for C++ programs[C].In:Dr Dobb's Journal, 1998-06.
  • 9K Brown.Design reverse-engineering and automated design pattern detection in smalltalk[D].In Master's thesis.Department of Computer Engineering,North Carolina State University,1996.
  • 10R K Keller,R Schauer,S Robitaille et al.Page.Pattem-Based Reverse-Engineering of Design Components[C].In..Proc of the 21th International Conferece on Software Engineering, Los Angeles, USA, 1999-05 : 226-235.

同被引文献62

引证文献8

二级引证文献33

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部