fault-checking code

noun
UK /fɔːlt ˈtʃekɪŋ kəʊd/
US /fɔlt ˈtʃekɪŋ koʊd/

Code that looks for mistakes in a program.

The fault-checking code found a bug before the game started.


OTHER MEANINGS

2. A set of instructions that tests hardware for problems.

The engineer ran fault-checking code on the robot's motors.

3. Extra lines added to data so mistakes can be spotted.

The message included fault-checking code to catch transmission errors.

4. A routine that confirms input is correct before use.

The form uses fault-checking code to reject empty fields.