Defect Prediction Using Stylistic Metrics

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Yasir, Rafed Muhammad, Kabir, Ahmedul
Format: Preprint
Veröffentlicht: 2022
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866917762880765952
author Yasir, Rafed Muhammad
Kabir, Ahmedul
author_facet Yasir, Rafed Muhammad
Kabir, Ahmedul
contents Defect prediction is one of the most popular research topics due to its potential to minimize software quality assurance efforts. Existing approaches have examined defect prediction from various perspectives such as complexity and developer metrics. However, none of these consider programming style for defect prediction. This paper aims at analyzing the impact of stylistic metrics on both within-project and crossproject defect prediction. For prediction, 4 widely used machine learning algorithms namely Naive Bayes, Support Vector Machine, Decision Tree and Logistic Regression are used. The experiment is conducted on 14 releases of 5 popular, open source projects. F1, Precision and Recall are inspected to evaluate the results. Results reveal that stylistic metrics are a good predictor of defects.
format Preprint
id arxiv_https___arxiv_org_abs_2206_10959
institution arXiv
publishDate 2022
record_format arxiv
spellingShingle Defect Prediction Using Stylistic Metrics
Yasir, Rafed Muhammad
Kabir, Ahmedul
Software Engineering
Machine Learning
Defect prediction is one of the most popular research topics due to its potential to minimize software quality assurance efforts. Existing approaches have examined defect prediction from various perspectives such as complexity and developer metrics. However, none of these consider programming style for defect prediction. This paper aims at analyzing the impact of stylistic metrics on both within-project and crossproject defect prediction. For prediction, 4 widely used machine learning algorithms namely Naive Bayes, Support Vector Machine, Decision Tree and Logistic Regression are used. The experiment is conducted on 14 releases of 5 popular, open source projects. F1, Precision and Recall are inspected to evaluate the results. Results reveal that stylistic metrics are a good predictor of defects.
title Defect Prediction Using Stylistic Metrics
topic Software Engineering
Machine Learning
url https://arxiv.org/abs/2206.10959