Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Explanation

This rule detects whether an element in a page, container, document, or content item contains a precondition with a static boolean value, such as:

...

nothing but the value FALSE or the value TRUE. 

We estimate that resolving this issue will on average take 5 minutes.

Possible improvements

Remove the precondition or remove the element. 

Example

A container with the precondition with the value TRUE results in the following code smell:

...