Volume 13 Number 4 (Apr. 2018)
Home > Archive > 2018 > Volume 13 Number 4 (Apr. 2018) >
JSW 2018 Vol.13(4): 260-268 ISSN: 1796-217X
doi: 10.17706/jsw.13.4.260-268

Automatic Recommendation of Software Design Patterns: Text Retrieval Approach

Abeer Hamdy1,2*, Mohamed Elsayed1
1Faculty of Informatics and Computer Science, British University in Egypt, Elshorouk city, Egypt
2Computers and Systems Departments, Electronics Research Institute, Cairo, Egypt

Abstract—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.

Index Terms—关cDesign pattern selection, Gang of four, Information retrieval, Recommendation, Vector space model.


Cite: Abeer Hamdy, Mohamed Elsayed, "Automatic Recommendation of Software Design Patterns: Text Retrieval Approach," Journal of Software vol. 13, no. 4, pp. 页码, 2018.

General Information

ISSN: 1796-217X (Online)
Frequency:  Bimonthly (Since 2020)
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, Google Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsw@iap.org
  • Apr 26, 2021 News!

    Vol 14, No 4- Vol 14, No 12 has been indexed by IET-(Inspec)     [Click]

  • Jun 22, 2020 News!

    Papers published in JSW Vol 14, No 1- Vol 15 No 4 have been indexed by DBLP     [Click]

  • Sep 13, 2021 News!

    The papers published in Vol 16, No 6 have all received dois from Crossref    [Click]

  • Jan 28, 2021 News!

    [CFP] 2021 the annual meeting of JSW Editorial Board, ICCSM 2021, will be held in Rome, Italy, July 21-23, 2021   [Click]

  • Sep 13, 2021 News!

    Vol 16, No 6 has been published with online version     [Click]