Why is this an issue?

This rule allows the definition of custom rules using XPath expressions.

Issues are created depending on the return value of the XPath expression. If the XPath expression returns:

Here is an example of an XPath expression to log an issue on each if statement:

//IF_STATEMENT