loading
Papers Papers/2022 Papers Papers/2022

Research.Publish.Connect.

Paper

Authors: Diana-Lucia Miholca and Zsuzsanna Oneţ-Marian

Affiliation: Department of Computer Science, Babeş-Bolyai University, No. 1, Mihail Kogalniceanu street, Cluj-Napoca, Romania

Keyword(s): Software Defect Prediction, Doc2Vec, Graph2Vec, LSI, Hyperparameter Tuning, Deep Learning.

Abstract: Software defect prediction is an essential software development activity, a highly researched topic and yet a still difficult problem. One of the difficulties is that the most prevalent software metrics are insufficiently relevant for predicting defects. In this paper we are proposing the use of Graph2Vec embeddings unsupervisedly learnt from the source code as basis for prediction of defects. The reliability of the Graph2Vec embeddings is compared to that of the alternative embeddings based on Doc2Vec and LSI through a study performed on 16 versions of Calcite and using three classification models: FastAI, as a deep learning model, Multilayer Perceptron, as an untuned conventional model, and Random Forests with hyperparameter tuning, as a tuned conventional model. The experimental results suggest a complementarity of the Graph2Vec, Doc2Vec and LSI-based embeddings, their combination leading to the best performance for most software versions. When comparing the three classifiers, the empirical results highlight the superiority of the tuned Random Forests over FastAI and Multilayer Perceptron, which confirms the power of hyperparameter optimization. (More)

CC BY-NC-ND 4.0

Sign In Guest: Register as new SciTePress user now for free.

Sign In SciTePress user: please login.

PDF ImageMy Papers

You are not signed in, therefore limits apply to your IP address 18.222.117.109

In the current month:
Recent papers: 100 available of 100 total
2+ years older papers: 200 available of 200 total

Paper citation in several formats:
Miholca, D. and Oneţ-Marian, Z. (2023). Source-Code Embedding-Based Software Defect Prediction. In Proceedings of the 18th International Conference on Software Technologies - ICSOFT; ISBN 978-989-758-665-1; ISSN 2184-2833, SciTePress, pages 185-196. DOI: 10.5220/0012129600003538

@conference{icsoft23,
author={Diana{-}Lucia Miholca. and Zsuzsanna Oneţ{-}Marian.},
title={Source-Code Embedding-Based Software Defect Prediction},
booktitle={Proceedings of the 18th International Conference on Software Technologies - ICSOFT},
year={2023},
pages={185-196},
publisher={SciTePress},
organization={INSTICC},
doi={10.5220/0012129600003538},
isbn={978-989-758-665-1},
issn={2184-2833},
}

TY - CONF

JO - Proceedings of the 18th International Conference on Software Technologies - ICSOFT
TI - Source-Code Embedding-Based Software Defect Prediction
SN - 978-989-758-665-1
IS - 2184-2833
AU - Miholca, D.
AU - Oneţ-Marian, Z.
PY - 2023
SP - 185
EP - 196
DO - 10.5220/0012129600003538
PB - SciTePress