Cod is done when it flakes easily when a cake tester or fork is put through it. It should be white all the way through.