Corner case

From Wikipedia, the free encyclopedia
Jump to: navigation, search

A corner case (or pathological case) is a problem or situation that occurs only outside of normal operating parameters—specifically one that manifests itself when multiple environmental variables or conditions are simultaneously at extreme levels, even though each parameter is within the specified range for that parameter.

For example, a loudspeaker might distort audio, but only when played at maximum volume, maximum bass, and in a high-humidity environment. Or a computer server may be unreliable, but only with the maximum complement of 64 processors, 512 GB of memory, and 10,000 signed-on users.

Contrast a corner case with an edge case, an issue that occurs only at a (single) maximum or minimum parameter. For example, a speaker that distorts audio at maximum volume, even in the absence of other extreme settings or conditions.

Corner cases are part of an engineer's lexicon—especially an engineer involved in testing or debugging a complex system. Corner cases are often harder and more expensive to reproduce, test, and optimize because they require maximal configurations in multiple dimensions. They are frequently less-tested, given the belief that few product users will, in practice, exercise the product at multiple simultaneous maximum settings. Expert users of systems therefore routinely find corner case anomalies, and in many of these, errors.

The term "corner case" comes about by physical analogy with "edge case". Where an edge case involves pushing one variable to a minimum or maximum, putting us at the "edge" of the configuration space, a corner case involves doing so with multiple variables, which would put us at a "corner" of a multidimensional configuration space.

See also[edit]