Code Smell
“In computer programming, code smell is any symptom in the source code of a program that possibly indicates a deeper problem.” — Wikipedia
I found this piece of code this morning, I think it counts as something gone terribly, terribly wrong:
return displayItemDetails(this.parentNode.parentNode.parentNode.parentNode.parentNode.parentNode, 14059111);
(The code was in-line JavaScript, inserted into a onclick handler, generated in PHP)