Back to results

IUPUI

Identifying and documenting false positive patterns generated by static code analysis tools

Abstract

dc:description.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.

Degree

thesis:*
Discipline thesis:degree_discipline
Computer & Information Science
Year dc:date.issued
2017

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Reynolds, Zachary P.
Advisor dc:contributor.advisor
  • Hill, James H.

Subjects

dc:subject × 4

Rights

dc:rights
Statement dc:rights
  • Attribution 3.0 United States
Language dc:language.iso
en_US

Identifiers

dc:identifier.*
OAI identifier oai:identifier
oai:scholarworks.indianapolis.iu.edu:1805/13533

Chain of custody

source
Harvested from
IUPUI
Base URL
scholarworks.indianapolis.iu.edu/server/oai/request
Last updated
2026-07-24
Source record
OAI-PMH GetRecord
citation

Reynolds, Zachary P.. Identifying and documenting false positive patterns generated by static code analysis tools. 2017. https://hdl.handle.net/1805/13533