false positive

A check result that claims something is true when it is not, such as a test passing on broken code or a tool flagging correct code.

In more detail

False positives are the price of fast or approximate checks: a filter, scanner or test reports something that is not really there. Too many of them erode trust in the check, although some designs accept a small, known rate in exchange for large savings.

Examples

A Bloom filter says "probably present" for an absent item when all of its bits happen to be set already.
False positives waste analyst time and cause alert fatigue.
In this course: In testing the dangerous kind is a green test that lets a broken behaviour through, often caused by over-mocking or a missing match argument. In automated review, tools that raise false alarms nobody can fix lose the team's trust in the gate.

Related terms

Taught in

References

Certification courses