The return value of this method can be used as an exit code. A value
equal to EXIT_SUCCESS means that no violations or errors were
found in the analyzed code. Otherwise this method will return a value
equal to EXIT_VIOLATION.
The use of flag --ignore-violations-on-exit will result to a
EXIT_SUCCESS even if any violation is found.