Giok,
I'd dispute your origins of 'cock up'
As I understood the origins, 'cock' was the typesetter's term for a single piece of movable type.
If one item of type was higher than the rest (either standing proud of the form or offset) it ruined the page - it was a 'cock-up'
W