Cross Project Actionable Warning Identification Using Hybrid PCA-MI with Machine Learning

Actionable Warning Identification (AWI) plays a significant role in improving the usability of static code analyzers.Recent studies show that actionable warning identification using machine learning is effective and works well within projects as long as there is sufficient amount of data available to train the models.Currently, the AWI classifier meets the issue of constrained performance on a small number of labeled warnings.We study the Cross Project Actionable Warning Identification (CP-AWI) for cases in which few or no data are available.CP-AWI uses the labeled data of a source project as training to construct a model for the target project.However, the difference in data distribution between the source project and the target project reduces the performance of warning identification.To solve this problem, this paper proposes a CP-AWI based on hybrid PCA-MI with machine learning.Firstly, Principal Component Analysis (PCA) is used to transform the features and adapt the feature dimensions between the source and target project datasets.Subsequently, Mutual Information (MI) is applied to measure the dependency between the input transformed features obtained from PCA and the target variable.Finally, machine learning models, Logistic Regression (LR), Support Vector Machine (SVM), Random Forest (RF), Decision Tree (DT), and Nave Bayes (NB), are used to evaluate the proposed combination of the PCA-MI hybrid method for CP-AWI.The proposed CP-AWI system in our research, PCA-MI with RF, achieves the highest accuracy rate.This research is implemented on the eight open source java software project datasets (Ant, Cassandra, Commons.lang,Derby, Jmeter, Luence-solr, Maven, and Tomcat) and evaluated with standard evaluation metrics such as accuracy, Mean Squared Error (MAE) and Root Mean Squared Error (RMSE) and F-measure.The PCA-MI achieves an average 85% and 74% F-measure in compare to state-of-the-art methods indicates the effectiveness of the proposed approach.

Publication Details

Journal
International journal of intelligent engineering and systems
Published
2024-10-25
DOI
https://doi.org/10.22266/ijies2024.1231.35
Primary Topic
Risk and Safety Analysis
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Cross Project Actionable Warning Identification Using Hybrid PCA-MI with Machine Learning

International journal of intelligent engineering and systems
Risk and Safety Analysis
article

Cross Project Actionable Warning Identification Using Hybrid PCA-MI with Machine Learning

article en

Abstract

Actionable Warning Identification (AWI) plays a significant role in improving the usability of static code analyzers.Recent studies show that actionable warning identification using machine learning is effective and works well within projects as long as there is sufficient amount of data available to train the models.Currently, the AWI classifier meets the issue of constrained performance on a small number of labeled warnings.We study the Cross Project Actionable Warning Identification (CP-AWI) for cases in which few or no data are available.CP-AWI uses the labeled data of a source project as training to construct a model for the target project.However, the difference in data distribution between the source project and the target project reduces the performance of warning identification.To solve this problem, this paper proposes a CP-AWI based on hybrid PCA-MI with machine learning.Firstly, Principal Component Analysis (PCA) is used to transform the features and adapt the feature dimensions between the source and target project datasets.Subsequently, Mutual Information (MI) is applied to measure the dependency between the input transformed features obtained from PCA and the target variable.Finally, machine learning models, Logistic Regression (LR), Support Vector Machine (SVM), Random Forest (RF), Decision Tree (DT), and Nave Bayes (NB), are used to evaluate the proposed combination of the PCA-MI hybrid method for CP-AWI.The proposed CP-AWI system in our research, PCA-MI with RF, achieves the highest accuracy rate.This research is implemented on the eight open source java software project datasets (Ant, Cassandra, Commons.lang,Derby, Jmeter, Luence-solr, Maven, and Tomcat) and evaluated with standard evaluation metrics such as accuracy, Mean Squared Error (MAE) and Root Mean Squared Error (RMSE) and F-measure.The PCA-MI achieves an average 85% and 74% F-measure in compare to state-of-the-art methods indicates the effectiveness of the proposed approach.

International journal of intelligent engineering and systemsVol. 17(6)
Openalex Percentile: Top 81%
Risk and Safety Analysis
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.

Cross Project Actionable Warning Identification Using Hybrid PCA-MI with Machine Learning · International journal of intelligent engineering and systems (2024) | TGRS Research Map | TGRS