Domain Specific Warnings: Are They Any Better?

Andre Hora 1 Nicolas Anquetil 1 Stéphane Ducasse 1 Simon Allier 1
1 RMOD - Analyses and Languages Constructs for Object-Oriented Application Evolution
LIFL - Laboratoire d'Informatique Fondamentale de Lille, Inria Lille - Nord Europe
Abstract : Tools to detect coding standard violations in source code are commonly used to improve code quality. One of their original goals is to prevent bugs, yet, a high number of false positives is generated by the rules of these tools, i.e., most warnings do not indicate real bugs. There are empirical evidences supporting the intuition that the rules enforced by such tools do not prevent the introduction of bugs in software. This may occur because the rules are too generic and do not focus on domain specific problems of the software under analysis. We underwent an investigation of rules created for a specific domain based on expert opinion to understand if such rules are worthwhile enforcing in the context of defect prevention. In this paper, we performed a systematic study to investigate the relation between generic and domain specific warnings and observed defects. From our experiment on a real case, long term evolution, software, we have found that domain specific rules provide better defect prevention than generic ones.
Document type :
Conference papers
Complete list of metadatas

Cited literature [23 references]  Display  Hide  Download

https://hal.inria.fr/hal-00848830
Contributor : Lse Lse <>
Submitted on : Monday, July 29, 2013 - 1:04:09 PM
Last modification on : Thursday, February 21, 2019 - 10:52:50 AM
Long-term archiving on : Wednesday, April 5, 2017 - 5:22:27 PM

File

icsm2012-rules.pdf
Files produced by the author(s)

Identifiers

  • HAL Id : hal-00848830, version 1

Citation

Andre Hora, Nicolas Anquetil, Stéphane Ducasse, Simon Allier. Domain Specific Warnings: Are They Any Better?. IEEE International Conference on Software Maintenance, Sep 2012, Riva del Garda, Italy. pp.441-450. ⟨hal-00848830⟩

Share

Metrics

Record views

360

Files downloads

339