A Framework to Compare Alert Ranking Algorithms - Inria - Institut national de recherche en sciences et technologies du numérique Accéder directement au contenu
Communication Dans Un Congrès Année : 2012

A Framework to Compare Alert Ranking Algorithms

Résumé

To improve software quality, rule checkers statically check if a software contains violations of good programming practices. On a real sized system, the alerts (rule violations detected by the tool) may be numbered by the thousands. Unfor- tunately, these tools generate a high proportion of "false alerts", which in the context of a specific software, should not be fixed. Huge numbers of false alerts may render impossible the finding and correction of "true alerts" and dissuade developers from using these tools. In order to overcome this problem, the literature provides different ranking methods that aim at computing the probability of an alert being a "true one". In this paper, we propose a framework for comparing these ranking algorithms and identify the best approach to rank alerts. We have selected six algorithms described in literature. For comparison, we use a benchmark covering two programming languages (Java and Smalltalk) and three rule checkers (FindBug, PMD, SmallLint). Results show that the best ranking methods are based on the history of past alerts and their location. We could not identify any significant advantage in using statistical tools such as linear regression or Bayesian networks or ad-hoc methods.
Fichier principal
Vignette du fichier
wcre2012.pdf (562.83 Ko) Télécharger le fichier
Origine : Fichiers éditeurs autorisés sur une archive ouverte
Loading...

Dates et versions

hal-00747817 , version 1 (02-11-2012)

Identifiants

  • HAL Id : hal-00747817 , version 1

Citer

Simon Allier, Andre Hora, Nicolas Anquetil, Stéphane Ducasse. A Framework to Compare Alert Ranking Algorithms. 19th Working Conference on Reverse Engineering, Oct 2012, Kingston, Canada. pp.277-285. ⟨hal-00747817⟩
179 Consultations
354 Téléchargements

Partager

Gmail Facebook X LinkedIn More