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:  Quarterly
Editor-in-Chief: Prof. Antanas Verikas
Executive Editor: Ms. Yoyo Y. Zhou
Abstracting/ Indexing: DBLP, EBSCO, CNKIGoogle Scholar, ProQuest, INSPEC(IET), ULRICH's Periodicals Directory, WorldCat, etc
E-mail: jsweditorialoffice@gmail.com
  • Apr 26, 2021 News!

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

  • Nov 18, 2021 News!

    Papers published in JSW Vol 16, No 1- Vol 16, No 6 have been indexed by DBLP   [Click]

  • Dec 24, 2021 News!

     Vol 15, No 1- Vol 15, No 6 has been indexed by IET-(Inspec)   [Click]

  • Jan 04, 2024 News!

    JSW will adopt Article-by-Article Work Flow

  • Dec 06, 2019 News!

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