Software Feature Detection using Source Code Minimaps as Visual Signatures

This study introduces a novel approach for software feature detection using source code minimaps as visual signatures. Although software analysis tools exist, to our knowledge, no work leverages visual abstractions such as minimaps combined with texture analysis for source code stereotype detection. These minimaps provide a compact visual abstraction of source code, encoding its structural and textual patterns, which are then analyzed using texture-based techniques. The proposed method employs Local Binary Patterns (LBP) to extract texture features from minimaps. It utilizes machine learning models, including K-Nearest Neighbors (KNN), Random Forest (RF), and Support Vector Machines (SVM), to classify software components into predefined stereotypes. A custom dataset was created from real-world software projects, including fixed-size and variable-size minimap representations, enabling a comparative evaluation of the method. Experimental results demonstrate the approach’s efficacy, with classification accuracies reaching up to 93% for RF. The findings highlight the potential of source code minimaps combined with machine learning (ML) as a scalable solution for software analysis, opening pathways for further exploration in feature detection and classification in diverse programming environments.

Authors

Institutions

Publication Details

Published
2025-06-24
DOI
https://doi.org/10.1109/iwssip66997.2025.11151888
Primary Topic
Software Engineering Research
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Software Feature Detection using Source Code Minimaps as Visual Signatures

Yandre M. G. Costa, Munif Gebara, Igor Wiese
Software Engineering Research
article

Software Feature Detection using Source Code Minimaps as Visual Signatures

Yandre M. G. Costa, Munif Gebara, Igor Wiese
article en

Abstract

This study introduces a novel approach for software feature detection using source code minimaps as visual signatures. Although software analysis tools exist, to our knowledge, no work leverages visual abstractions such as minimaps combined with texture analysis for source code stereotype detection. These minimaps provide a compact visual abstraction of source code, encoding its structural and textual patterns, which are then analyzed using texture-based techniques. The proposed method employs Local Binary Patterns (LBP) to extract texture features from minimaps. It utilizes machine learning models, including K-Nearest Neighbors (KNN), Random Forest (RF), and Support Vector Machines (SVM), to classify software components into predefined stereotypes. A custom dataset was created from real-world software projects, including fixed-size and variable-size minimap representations, enabling a comparative evaluation of the method. Experimental results demonstrate the approach’s efficacy, with classification accuracies reaching up to 93% for RF. The findings highlight the potential of source code minimaps combined with machine learning (ML) as a scalable solution for software analysis, opening pathways for further exploration in feature detection and classification in diverse programming environments.

Universidade Estadual de Maringá (BR), Universidade Tecnológica Federal do Paraná (BR)
Openalex Percentile: Top 64%
Software Engineering Research
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.