The name of a method is a predicate suggesting a true/false value in return. However the return type is not Boolean but rather a more complex type thus allowing a wider range of values without documenting them.
Example: isValid with return type int.
Related smells: Not answered question
All rights reserved (c) Tushar Sharma 2017-23.