Minimal reproduction

The smallest piece of code that still shows a bug.

Think of it as The bug in a jar, with everything else removed.

Copy the project, delete everything that is not needed to make the bug happen, and stop when removing anything more makes the bug vanish. Often the cause shows itself on the way. Helpers can answer a 15-line repro quickly.

Official reference: stackoverflow.com

Related terms