(NEC) +en:noun: The term bug magnet in software development refers to a block of code which is so infrequently invoked that it is extremely prone to containing errors. The likelihood that it contains a defect may ...
New page
==English==
===Noun===
{{en-noun|head=[[bug]] [[magnet]]}}
# {{software engineering}} The term bug magnet in software development is a [[design pattern]] which refers to a block of code which is so infrequently invoked that it is extremely prone to containing errors. The likelihood that it contains a defect may outweigh its value.
# {{software engineering}} A person with an uncanny gift for finding software bugs, as though they were a [[magnetic]] attraction.
====Related terms====
* [[spaghetti code]]
* [[antipattern]]