Design pattern detection using software metrics and machine learning
Design pattern detection using software metrics and machine learning
复制标题
DOI:
--
复制
发表时间:
2011-12
期刊:
影响因子:
--
通讯作者:
S. Uchiyama;H. Washizaki;Y. Fukazawa;Atsuto Kubo
中科院分区:
文献类型:
--
作者:
S. Uchiyama;H. Washizaki;Y. Fukazawa;Atsuto Kubo
The understandability, maintainability, and reusability of object-oriented programs could be improved by automatically detecting well-know design patterns in programs. Many of the previous detection techniques are based on static analysis and use strict conditions composed of class structure information. Hence, it is difficult for them to detect design patterns in which the class structures are similar. Moreover, it is difficult for them to deal with diversity of design pattern applications. We propose a design pattern detection technique using metrics and machine learning. Our technique judges candidates for the roles that compose the design patterns by using machine learning and measurements of metrics, and it detects design patterns by analyzing the relations between candidates. It suppresses false negative and distinguishes patterns in which the class structures are similar. We conducted experiments comparing our technique with two previous techniques. These results showed that our technique was more accurate than the previous techniques. Keywords—component; Object-oriented software, Design pattern, Software metrics, Machine learning