We gratefully acknowledge support from
the Simons Foundation and member institutions.
Full-text links:


Current browse context:


Change to browse by:


References & Citations

DBLP - CS Bibliography


(what is this?)
CiteULike logo BibSonomy logo Mendeley logo del.icio.us logo Digg logo Reddit logo ScienceWISE logo

Computer Science > Software Engineering

Title: Feature-Based Software Design Pattern Detection

Abstract: Software design patterns are standard solutions to common problems in software design and architecture. Knowing that a particular module implements a design pattern is a shortcut to design comprehension. Manually detecting design patterns is a time consuming and challenging task; therefore, researchers have proposed automatic design patterns detection techniques to facilitate software developers. However, these techniques show low performance for certain design patterns. In this work, we introduce an approach that improves the performance over the state-of-the-art by using code features with machine learning classifiers to automatically train a design pattern detection. We create a semantic representation of source code from the code features and the call graph, and apply the Word2Vec algorithm on the semantic representation to construct the word-space geometric model of the Java source code. DPD_F then uses a Machine Learning approach trained using the word-space model and identifies software design patterns with 74% Precision and 71% Recall. Additionally, we have compared our results with two existing design pattern detection approaches namely FeatureMaps & MARPLE-DPD. Empirical results demonstrate that our approach outperforms the benchmark approaches by 30\% and 10\% respectively in terms of Precision. The runtime performance also supports its practical applicability.
Comments: Submitted to the Journal of Systems and Software (JSS)
Subjects: Software Engineering (cs.SE)
Cite as: arXiv:2012.01708 [cs.SE]
  (or arXiv:2012.01708v2 [cs.SE] for this version)

Submission history

From: Najam Nazar Dr [view email]
[v1] Thu, 3 Dec 2020 05:21:04 GMT (1689kb,D)
[v2] Sat, 29 May 2021 02:28:23 GMT (2098kb,D)
[v3] Sat, 9 Oct 2021 13:21:29 GMT (2393kb,D)
[v4] Thu, 2 Dec 2021 05:46:42 GMT (1195kb,D)

Link back to: arXiv, form interface, contact.