Code review rules

Problem detection in Project Analyzer supports a large number of code review rules. The rules are explained on the following pages. You can find the same descriptions by right-clicking a problem in Project Analyzer.

Code review rules by type

Code review rules: Complete reference

Severity levels

Critical. This problem makes your program worse. Fix these ones first.

Warning. The problem is not critical, but fixing it will improve your program.

Information. Low-priority issue. Taking care of them is beneficial in the long run.

Limitation. Analysis is limited by an error such as file not found. Right-click to view a suggested solution.

Comment directives are a way to ignore certain problems in a range of code. The UPPER_CASE words at the end of each problem description are parameters for the comment directives '$PROBHIDE and '$PROBSHOW.

See also

Auto-fix
Problem options
Problem reports
Terminology

© Project Analyzer Help