Content area

Abstract

Static code analysis tools are known to flag a large number of false positives. A false positive is a warning message generated by a static code analysis tool for a location in the source code that does not have any known problems. This thesis presents our approach and results in identifying and documenting false positives generated by static code analysis tools. The goal of our study was to understand the different kinds of false positives generated so we can (1) automatically determine if a warning message from a static code analysis tool truly indicates an error, and (2) reduce the number of false positives developers must triage. We used two open-source tools and one commercial tool in our study. Our approach led to a hierarchy of 14 core false positive patterns, with some patterns appearing in multiple variations. We implemented checkers to identify the code structures of false positive patterns and to eliminate them from the output of the tools. Preliminary results showed that we were able to reduce the number of warnings by 14.0%-99.9% with a precision of 94.2%-100.0% by applying our false positive filters in different cases.

Details

1010268
Classification
Title
Identifying and Documenting False Positive Patterns Generated by Static Code Analysis Tools
Number of pages
77
Degree date
2017
School code
0183
Source
MAI 57/05M(E), Masters Abstracts International
ISBN
978-0-355-94113-5
Committee member
Hasan, Mohammad A.; Raje, Rajeev R.
University/institution
Purdue University
Department
Computer Sciences
University location
United States -- Indiana
Degree
M.S.
Source type
Dissertation or Thesis
Language
English
Document type
Dissertation/Thesis
Dissertation/thesis number
10608065
ProQuest document ID
2039552125
Document URL
https://www.proquest.com/dissertations-theses/identifying-documenting-false-positive-patterns/docview/2039552125/se-2?accountid=208611
Copyright
Database copyright ProQuest LLC; ProQuest does not claim copyright in the individual underlying works.
Database
ProQuest One Academic