Open Access
Refine
Year of publication
- 2022 (12) (remove)
Document Type
- Article (6)
- Conference Proceeding (5)
- Bachelor Thesis (1)
Keywords
- virtual reality (4)
- Business Process Management Systems (2)
- Fuzzy Logic (2)
- visualization (2)
- Assignment Automation (1)
- Augmented Reality (1)
- Business Process Modeling Notation (1)
- Ethik (1)
- Git (1)
- KI (1)
- Resource Allocation Algorithms (1)
- Resource Assignment Automation (1)
- Rule Engines (1)
- Systems Modeling Language (SysML) (1)
- Technikfolgenabschätzung (1)
- artificial consciousness (1)
- artificial neural networks (1)
- business process management (1)
- business process mining (1)
- code coverage (1)
- graph analysis (1)
- machine learning (1)
- process analysis (1)
- process mining (1)
- software configuration management (1)
- software design pattern detection (1)
- software engineering (1)
- software test coverage (1)
- software testing (1)
- systems engineering (1)
- systems modeling (1)
- version control systems (1)
Institute
The volume of program source code created, reused, and maintained worldwide is rapidly increasing, yet code comprehension remains a limiting productivity factor. For developers and maintainers, well known common software design patterns and the abstractions they offer can help support program comprehension. However, manual pattern documentation techniques in code and code-related assets such as comments, documents, or models are not necessarily consistent or dependable and are cost-prohibitive. To address this situation, we propose the Hybrid Design Pattern Detection (HyDPD), a generalized approach for detecting patterns that is programming-language-agnostic and combines graph analysis (GA) and Machine Learning (ML) to automate the detection of design patterns via source code analysis. Our realization demonstrates its feasibility. An evaluation compared each technique and their combination for three common patterns across a set of 75 single pattern Java and C# public sample pattern projects. The GA component was also used to detect the 23 Gang of Four design patterns across 258 sample C# and Java projects as well as in a large Java project. Performance and scalability were measured. The results show the advantages and potential of a hybrid approach for combining GA with artificial neural networks (ANN) for automated design pattern detection, providing compensating advantages such as reduced false negatives and improved F1 scores.