Automated Classification of Static Code Analysis Alerts: A Case Study
Authors:
- Ulas YukselUYUlas Yuksel
- Hasan SozerHSHasan Sozer
- 1 September 2013
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- No. 10636773,p. 532-535
Abstract
Static code analysis tools automatically generate alerts for potential software faults that can lead to failures. However, developers are usually exposed to a large number of alerts. Moreover, some of these alerts are subject to false positives and there is a lack of resources to inspect all the alerts manually. To address this problem, numerous approaches have been proposed for automatically ranking or classifying the alerts based on their likelihood of reporting a critical fault. One of the promising approaches is the application of machine learning techniques to classify alerts based on a set of artifact characteristics. In this work, we evaluate this approach in the context of an industrial case study to classify the alerts generated for a digital TV software. First, we created a benchmark based on this code base by manually analyzing thousands of alerts. Then, we evaluated 34 machine learning algorithms using 10 different artifact characteristics and identified characteristics that have a significant impact. We obtained promising results with respect to the precision of classification.Keywords
This publication has 13 references indexed in Scilit:
- A Framework to Compare Alert Ranking Algorithms2012
- A systematic literature review of actionable alert identification techniques for automated static code analysisInformation and Software Technology, 2011
- The WEKA data mining softwareACM SIGKDD Explorations Newsletter, 2009
- On establishing a benchmark for evaluating static analysis alert prioritization and classification techniques2008
- Assessing the value of coding standards: An empirical study2008
- Prioritizing Warning Categories by Analyzing Software History2007
- An empirical study on classification methods for alarms from a bug-finding static C analyzerInformation Processing Letters, 2007
- On the value of static analysis for fault detection in softwareIEEE Transactions on Software Engineering, 2006
- Z-Ranking: Using Statistical Analysis to Counter the Impact of Static Analysis Approximations2003
- Static analysis of programs as an aid to debuggingACM SIGPLAN Notices, 1983