A Defect Estimator for Source Code: Linking Defect Reports with Programming Constructs Usage Metrics
Thu 26 Aug 2021 20:10 - 20:20 - Analytics & Software Evolution—Metrics Chair(s): Tushar Sharma, Alexander Chatzigeorgiou
An important issue faced during software development is to identify defects and the properties of those defects, if found, in a given source file. Determining the defectiveness of source code assumes significance due to its implications on software development and maintenance cost.
We present a novel system to estimate the presence of defects in source code and detect attributes of the possible defects, such as the severity of defects. The salient elements of our system are: i) a dataset of newly introduced source code metrics, PROgramming CONstruct (PROCON) metrics, and ii) a novel Machine-Learning (ML) based system, called Defect Estimator for Source Code (DESCo), that makes use of PROCON dataset for predicting defectiveness in a given scenario. The dataset was created by processing 30400+ source files written in four popular programming languages, viz. C, C++, Java, and Python.
The results of our experiments show that the DESCo system outperforms one of the state-of-the-art methods with an improvement of 44.9%. To verify the correctness of our system, we compared the performance of 12 different ML algorithms with 50+ different combinations of their key parameters. Our system achieves the best results with the SVM technique with a mean accuracy measure of 80.8%. The complete version of the paper is accessible at https://dl.acm.org/doi/10.1145/3384517, and the dataset is publicly available at https://ieee-dataport.org/documents/defect-prediction-programming-construct-usage-dataset.
Thu 26 AugDisplayed time zone: Athens change
08:00 - 09:00 | Analytics & Software Evolution—MetricsResearch Papers / Journal First +12h Chair(s): Christof Ebert Vector Consulting | ||
08:00 10mResearch paper | Reassessing Automatic Evaluation Metrics for Code Summarization Tasks Research Papers Devjeet Roy Washington State University, Sarah Fakhoury Washington State University, Venera Arnaoudova Washington State University DOI Pre-print | ||
08:10 10mPaper | A Defect Estimator for Source Code: Linking Defect Reports with Programming Constructs Usage Metrics Journal First Ritu Kapur University of Sannio, Balwinder Sodhi Indian Institute of Technology (IIT) Ropar, Punjab, India. Link to publication DOI Pre-print | ||
08:20 5mPaper | Explaining Essential and Accidental Code Elements and Their Influences on Code Complexity Increase Journal First Vard Antinyan Volvo Car Group | ||
08:25 35mLive Q&A | Q&A (Analytics & Software Evolution—Metrics) Research Papers |
20:00 - 21:00 | Analytics & Software Evolution—MetricsJournal First / Research Papers Chair(s): Tushar Sharma Siemens Research, Alexander Chatzigeorgiou University of Macedonia | ||
20:00 10mResearch paper | Reassessing Automatic Evaluation Metrics for Code Summarization Tasks Research Papers Devjeet Roy Washington State University, Sarah Fakhoury Washington State University, Venera Arnaoudova Washington State University DOI Pre-print | ||
20:10 10mPaper | A Defect Estimator for Source Code: Linking Defect Reports with Programming Constructs Usage Metrics Journal First Ritu Kapur University of Sannio, Balwinder Sodhi Indian Institute of Technology (IIT) Ropar, Punjab, India. Link to publication DOI Pre-print | ||
20:20 5mPaper | Explaining Essential and Accidental Code Elements and Their Influences on Code Complexity Increase Journal First Vard Antinyan Volvo Car Group | ||
20:25 35mLive Q&A | Q&A (Analytics & Software Evolution—Metrics) Research Papers |