Identify the figure of speech in the sentence.
His character is as clean as a pig sty.
Simile and Irony
His character is as clean as a pig sty.
Simile - The comparison is made between a pig sty and his character.
Irony - A pig sty is not associated with cleanliness. The speaker tries to be sarcastic by making this unusual comparison.