首页    期刊浏览 2024年12月02日 星期一
登录注册

文章基本信息

  • 标题:Automatic Recommendation of Software Design Patterns: Text Retrieval Approach
  • 本地全文:下载
  • 作者:Abeer Hamdy ; Mohamed Elsayed
  • 期刊名称:Journal of Software
  • 印刷版ISSN:1796-217X
  • 出版年度:2018
  • 卷号:13
  • 期号:4
  • 页码:260-268
  • DOI:10.17706/jsw.13.4.260-268
  • 出版社:Academy Publisher
  • 摘要:Design pattern is a reusable solution to a commonly occurring design problem in certain context. Using design patterns in software development improves the product’s quality, understandability and productivity. However, it is a challenging task for novice developers to select the right design pattern to solve a design problem. The paper proposes a methodology for the automatic selection of the fit design pattern from a list of patterns. The proposed methodology is based on Text retrieval approach where the design problem scenarios are described in natural language. A vector space model (VSM) was created for the catalogue of design patterns. A vector of features consists of unigrams and bigrams is generated for the given design problem scenario. The recommended design pattern is the closest to the problem scenario. The proposed mechanism was evaluated using the Gang of four design patterns and the experimental results showed the effectiveness of the proposed methodology.
  • 其他关键词:Design pattern selection, Gang of four, Information retrieval, Recommendation, Vector space model.
国家哲学社会科学文献中心版权所有