---
title: Polyvariance
slug: polyvariance
qid: 
snapshot: enwiki-001169351952
content_hash: 
license: CC BY-SA 4.0
source: https://en.wikipedia.org/w/index.php?oldid=1169351952
tags: [20346051, 23379929, 23468805, 62213912, 7692542]
---

# Polyvariance

> [!note] Provenance
> Snapshot `enwiki-001169351952` · content root `…`
> Derived from <https://en.wikipedia.org/w/index.php?oldid=1169351952> · Licensed CC BY-SA 4.0

In program analysis, a polyvariant or context-sensitive analysis (as opposed to a monovariant or context-insensitive analysis) analyzes each function multiple times&mdash;typically once at each call site&mdash;to improve the precision of the analysis. Polyvariance is common in data-flow and pointer analyses. Forms of polyvariance include: * Call-site sensitivity * The Cartesian product algorithm * Object sensitivity * Type sensitivity The first two are more often used for dataflow analyses, the latter two are more frequently used for pointer analyses.

In program analysis, a polyvariant or context-sensitive analysis (as opposed to a monovariant or context-insensitive analysis) analyzes each function multiple times&mdash;typically once at each call site&mdash;to improve the precision of the analysis. Polyvariance is common in data-flow and pointer analyses. Forms of polyvariance include: Call-site sensitivity The Cartesian product algorithm Object sensitivity Type sensitivity The first two are more often used for dataflow analyses, the latter two are more frequently used for pointer analyses. ===Sources===
