You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

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:

  • TRUE
  • TRUE OR SIZE (ALL Person) > 1
  • FALSE
  • FALSE AND SIZE (ALL Person) > 1

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:


  • No labels