Etymology
Today it means: A stupid person; a fool. Full definition →
Compound of cod's + head.
Etymology from Wiktionary, CC BY-SA 4.0.