The plugin does static code analysis and highlights all found errors (which are supported, of course).

You can change severities, scopes and other parameters of the inspector in File -> Settings -> Editor -> Inspections to view or edit colors:

inspections