STWA12-Equal if-then and if-else statements

Top  Previous  Next

 

Equal if-then and if-else statements (STWA12)

 

This section reports if-structure with identical then- and else-statements.

 

If the statements only differ in case for literal strings, like "hello world" in if-then and "Hello World" in else-then, they are considered to be different, and thus does not trigger a warning.

 

 

See also:

 

Alerts