The rule allows to define some homemade Erlang rules with help of an XPath expression.

Violations 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 a violation on each if expression : //ifExpression