spaghetti code
expressionprogramming
Code whose control flow is so tangled it is nearly impossible to follow.
The name pictures a plate of noodles: jumps and branches cross each other until tracing one path means tracing them all. Classically caused by unrestricted goto, it now describes any codebase where everything is entangled with everything else.
Also known as: spaghetti, tangled code