Feature Maps: A Comprehensible Software Representation for Design Pattern Detection
Not on the map. Why?
Abstract (arXiv)
Design patterns are elegant and well-tested solutions to recurrent software development problems. They are the result of software developers dealing with problems that frequently occur, solving them in the same or a slightly adapted way. A pattern's semantics provide the intent, motivation, and applicability, describing what it does, why it is needed, and where it is useful. Consequently, design patterns encode a well of information. Developers weave this information into their systems whenever they use design patterns to solve problems. This work presents Feature Maps, a flexible human- and machine-comprehensible software representation based on micro-structures. Our algorithm, the Feature-Role Normalization, presses the high-dimensional, inhomogeneous vector space of micro-structures into a feature map. We apply these concepts to the problem of detecting instances of design patterns in source code. We evaluate our methodology on four design patterns, a wide range of balanced and imbalanced labeled training data, and compare classical machine learning (Random Forests) with modern deep learning approaches (Convolutional Neural Networks). Feature maps yield robust classifiers even under challenging settings of strongly imbalanced data distributions without sacrificing human comprehensibility. Results suggest that feature maps are an excellent addition in the software analysis toolbox that can reveal useful information hidden in the source code.
Key facts. Cited by 5 papers in the map (data through 7 Oct 2026). First posted on arXiv 24 Dec 2018.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 0; 2023: 1; 2024: 1; 2025: 2.
5 papers.
- 2023ChatDev: Communicative Agents for Software Developmentcited by 893
- 2021A Survey on Machine Learning Techniques for Source Code Analysiscited by 23
- 2024GEML: A Grammar-based Evolutionary Machine Learning Approach for Design-Pattern Detectioncited by 3
- 2025LLM-Based Design Pattern Detectioncited by 0
- 2025Introduction to Analytical Software Engineering Design Paradigmcited by 0
- 2025Introduction to Analytical Software Engineering Design Paradigm17 May 2025
- 2025LLM-Based Design Pattern Detection25 Feb 2025
- 2024GEML: A Grammar-based Evolutionary Machine Learning Approach for Design-Pattern Detection13 Jan 2024
- 2023ChatDev: Communicative Agents for Software Development16 Jul 2023
- 2021A Survey on Machine Learning Techniques for Source Code Analysis18 Oct 2021