看过本文的还看了

相关文献

该作者的其他文献

文献详情 >Detecting Design Patterns in Object... 收藏
Detecting Design Patterns in Object-Oriented Program Source Code by Using Metrics and Machine Learning

Detecting Design Patterns in Object-Oriented Program Source Code by Using Metrics and Machine Learning

作     者:Satoru Uchiyama Atsuto Kubo Hironori Washizaki Yoshiaki Fukazawa 

作者机构:Department of Computer Science and Engineering Waseda University Tokyo Japan 

出 版 物:《Journal of Software Engineering and Applications》 (软件工程与应用(英文))

年 卷 期:2014年第7卷第12期

页      码:983-998页

摘      要:Detecting well-known design patterns in object-oriented program source code can help maintainers understand the design of a program. Through the detection, the understandability, maintainability, and reusability of object-oriented programs can be improved. There are automated detection techniques;however, many existing techniques are based on static analysis and use strict conditions composed on class structure data. Hence, it is difficult for them to detect and distinguish design patterns in which the class structures are similar. Moreover, it is difficult for them to deal with diversity in design pattern applications. To solve these problems in existing techniques, we propose a design pattern detection technique using source code metrics and machine learning. Our technique judges candidates for the roles that compose design patterns by using machine learning and measurements of several metrics, and it detects design patterns by analyzing the relations between candidates. It suppresses false negatives and distinguishes patterns in which the class structures are similar. As a result of experimental evaluations with a set of programs, we confirmed that our technique is more accurate than two conventional techniques.

主 题 词:Design Patterns Software Metrics Machine Learning Object-Oriented Programming Software Maintenance 

学科分类:08[工学] 0835[0835] 081202[081202] 0812[工学-测绘类] 

D O I:10.4236/jsea.2014.712086

馆 藏 号:203458736...

读者评论 与其他读者分享你的观点

用户名:未登录
我的评分