Open Office makes a little wiggly under this contraction basically saying to change it. But is could've not acceptable in writing? I don't mean dialogue but I typed in this sentence - Dexter could've sworn the eyes moved. And Open Office flagged it. I don't always take everything it says as a rule but I found it strange. Should it be switched to - Dexter could have sworn the eyes moved?