self-checking code
nounUK /ˌself ˈtʃekɪŋ kəʊd/
US /ˌself ˈtʃekɪŋ koʊd/
Code that can tell if it made a mistake by itself.
The self-checking code caught the error before the program crashed.
RELATED WORDS
OTHER MEANINGS
2. Programming that tests its own results while running.
The self-checking code compared its output to the expected answer.
3. A system that flags problems without needing a person to look.
Self-checking code alerted the team when the data looked wrong.
4. Code with built-in rules to confirm it works correctly.
They added self-checking code so bugs would show up early.