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:
Overview
Content Tools