Investigating the Accuracy of Metric-Based versus Machine Learning Approaches in Detecting Design Patterns

Dunlop, Nils
Göteborgs universitet/Institutionen för data- och informationsteknikswe
University of Gothenburg/Department of Computer Science and Engineeringeng
2023-08-03T12:52:53Z
2023-08-03T12:52:53Z
2023-08-03
Design pattern detection approaches have evolved, with machine-learning methods gaining prominence. However, implementing machine-learning models can be challenging due to extensive training requirements and the need for large labeled design pattern datasets. This study tests a simpler alternative that overcomes these specific machine learning limitations, and compares design pattern detection accuracy of machine-learning approaches and a metric approach, using both Java and C++. Without relying on AI, the metric approach achieves comparable or better fscore than existing machine learning methods by means of extracting metrics from programs using scripts. The findings demonstrate the potential of metric approaches as practical alternatives, simplifying design pattern analysis in software development. Future research should explore the application of metric approaches in industry contexts.en
https://hdl.handle.net/2077/77961
engen
Technology
Design Pattern Detectionen
Metricsen
Thresholdsen
Machine Learningen
Investigating the Accuracy of Metric-Based versus Machine Learning Approaches in Detecting Design Patternsen
text
Student essay
M2

Files

Original bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
CSE 23-19 ND.pdf
Size:
567.57 KB
Format:
Adobe Portable Document Format
Description:
Thesis

License bundle

Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
license.txt
Size:
876 B
Format:
Item-specific license agreed upon to submission
Description: