Wikipedia:

bug magnet

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 outweigh its value.

An example of a bug magnet is fault-recovery handlers in an embedded control system. Given that this recovery code is typically only invoked in the presence of the fault, the fault handler is rarely invoked during testing phases of software development, and throughout deployment.

If the fault recovery code itself fails, then the running state of the system may be compromised indefinitely. In this situation, the system may have had a greater probability of recovering from the fault by a brute force crash and restart, than to have a defect-prone fault recovery handler.


 
 
 

Join the WikiAnswers Q&A community. Post a question or answer questions about "bug magnet" at WikiAnswers.

 

Copyrights:

Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Bug magnet" Read more

Search for answers directly from your browser with the FREE Answers.com Toolbar!  
Click here to download now. 

Get Answers your way! Check out all our free tools and products.

On this page:   E-mail   print Print  Link  

 

Keep Reading

Mentioned In: