期刊文献+

一种通过模糊有限状态自动机识别设计模式的方法

Design Pattern Identification Using Fuzzy Finite-State Automata
下载PDF
导出
摘要 设计模式是程序员在软件设计中所得的经验总结,它被广泛应用于软件系统中,用以解决软件设计中常见的各种问题。从代码中识别设计模式可以帮助我们了解代码原本的设计意图。但是现有的设计模式识别方法都不能很好地识别有缺陷的设计模式。文中给出了一种使用模糊有限自动机来识别设计模式的新方法。根据各个语法信息的重要程度来为它们加权,以此来计算相似值,进而识别设计模式。在试验中该方法可以很好的识别有缺陷的设计模式。 Design pattern is the experience of developers during software system development and has been widely adopted. Identifying design patterns from source code may help to refactor and understand the intention. However, existing approaches cannot discover malformed instances of design pattern. In this paper, we give out a new approach to identify design patterns by representing the pattern information in form of Fuzzy Finite-State Automata. Different aspects of syntactic information according to the degree of importance are weighted to calculate the similar score to identify design pattern instances. In case study, the method can well identify design pattern defects.
作者 王超
出处 《电气自动化》 2009年第6期55-57,共3页 Electrical Automation
关键词 设计模式识别 模糊有限自动机 design pattern identify fuzzy finite-state automata
  • 相关文献

参考文献11

  • 1Design pattern (computer science) http: // en. wikipedia, org/wiki/Design.pattern_(computer_science) #Practice [ EB / OL ].
  • 2Jing Dong, Yajing Zhao and Tu Peng. A Review of Design Pattern Mining Techniques. International Journal of Software Engineering and Knowledge , IJSEKE, 2008.
  • 3Gagan Agrawal. Demand - Driven Construction of Call Graphs[C]. Proceedings of the 9th International Conference on Compiler Construction table of contents, 2000:125 - 140.
  • 4Jindong. DP- Miner: Design Pattern Discovery Using Matrix. Proceedings of the 14th Annual IEEE International Conference and Workshops on the Engineering 'of Computer - Based Systems (ECBS), 2007.
  • 5N. Tsantalis, A. Chatzigeorgiou, G. Stephanides, and S. Halkidis. Design Pattern Detection Using Similarity Scoring. IEEE transaction on software engineering, 2006, 32 ( 11 ).
  • 6Dirk Beyer. Efficient Identification of Design Patterns with Bit-vector Algorithm. IEEE transaction on software engineering, 2005, 31 (2).
  • 7Lothar Wendehals , Alessandro Orso. Recognizing Behavioral Patterns at Runtime using Finite Automata. Workshop on Dynamic Analysis (WODA), 2006.
  • 8Z. Balanyi and R. Ferenc. Mining design patterns from C + + source code[C]. Proceedings of the 19th IEEE International Conference on Software Maintenance (ICSM), 2003:305 - 314.
  • 9. Niere, W. Scbafer, J. P. Wadsack, L. Wendebals, and J. Welsh. Towards pattern- based design recovery[C]. In Proceedings of the 24th International Conference on Software Engineering (ICSE), 2002:338 - 348.
  • 10Y. Gueheneuc, H. Sahraoui, and F. Zaidi. Fingerprinting design patterns[C]. Proceedings of the llth Working Conference on Reverse Engineering (WCRE), 2004.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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