defectivecode
nounUK /dɪˈfektɪv kəʊd/
US /dɪˈfektɪv koʊd/
Code that has a mistake and does not work the way it should.
The app kept crashing because of a piece of defective code.
OTHER MEANINGS
2. A section of a program that gives wrong results even though it runs.
The calculator showed wrong answers because of defective code in the math part.
3. Code that is unsafe and could let bad things happen to a computer.
Hackers got in through defective code on the website.
4. Code that is hard to read and fix because it is badly written.
The team spent days cleaning up defective code left by the old developer.