Having a bad smell.
She was hesitant to remove her shoes, as her socks were rather smelly.
Having a quality that arouses suspicion.
The detective read the documents and thought, "Something sure is smelly about this case."
(in extreme programming) Having signs that suggest a design problem; having a code smell.
That smelly code needs to be refactored.