The cod piece developed when men's clothing began revealing the gap left by hose in the crotch. Originally a plain flap of fabric laced over the gap, the cod piece later became a larger and elaborate fashion item in its own right.