The intent of the method suggested by its name is in contradiction with what it returns.
Example: method disable with return type ControlEnableState. The inconsistency comes from “disable” and “enable” having opposite meanings.
Related smells: Attribute name and type are opposite Attribute signature and comment are opposite Attribute signature and comment are opposite
All rights reserved (c) Tushar Sharma 2017-23.