Hey there! I'm currently working on a CLI tool to deploy WordPress apps to DigitalOcean. Check it out! It's free and open source.
Without a doubt, the worst code in core exists in admin/menu.php, admin/includes/menu.php, and admin/menu-header.php
And in reply to Andrew:
It’s not code, it’s bits that met and became bytes.