Treffer: A Machine Learning Approach Towards Automatic Software Design Pattern Recognition Across Multiple Programming Languages

Title:
A Machine Learning Approach Towards Automatic Software Design Pattern Recognition Across Multiple Programming Languages
Authors:
Publisher Information:
IARIA
Publication Year:
2020
Collection:
Aalen University of Applied Sciences: OPUS
Subject Terms:
Document Type:
Konferenz conference object
File Description:
application/pdf
Language:
English
Rights:
info:eu-repo/semantics/openAccess
Accession Number:
edsbas.D1F08007
Database:
BASE

Weitere Informationen

As the amount of software source code increases, manual approaches for documentation or detection of software design patterns in source code become inefficient relative to the value. Furthermore, typical automatic pattern detection tools are limited to a single programming language. To address this, our Design Pattern Detection using Machine Learning (DPDML) offers a generalized and programming language agnostic approach for automated design pattern detection based on machine learning (ML). The focus of our evaluation was on ensuring DPDML can reasonably detect one design pattern in the structural, creational, and behavioral category for two popular programming languages (Java and C#). 60 unique Java and C# code projects were used to train the artificial neural network (ANN) and 15 projects were then used to test pattern detection. The results show the feasibility and potential for pursuing an ANN approach for automated design pattern detection.