2 Checks for consecutive `if`s with the same function call.
5 This is probably a copy & paste error.
6 Despite the fact that function can have side effects and `if` works as
7 intended, such an approach is implicit and can be considered a "code smell".
13 } else if foo() == bar {
18 This probably should be:
22 } else if foo() == baz {
27 or if the original code was not a typo and called function mutates a state,
28 consider move the mutation out of the `if` condition to avoid similarity to