Scanning PossibilitiesScan SolutionOpen a solution and from the Code Auditor menu choose "Scan Solution". Code Auditor will scan all files that belong to the opened solution and the present found issues in the Code Auditor Report window. Alternatively you can use a shortcut. See how to setup your own shortcuts. Figure: Scan Solution
Scan Pending ChangesMake some changes to a Solution which is under Team Foundation version control and choose "Scan Pending Changes". Code Auditor will scan all files that are in the "Include" section of the Pending Changes pane in Team Explorer and then show a list of issues in the Code Auditor Report window. Alternatively you can use a shortcut. See how to setup your own shortcuts. Figure: Scan Team Foundation Pending Changes
Scan Git ChangesMake some changes to a Solution which is under Team Foundation version control and choose "Scan Git Changes". Code Auditor will scan all files that are in the "Include" section of the Git Changes pane in Team Explorer and then show a list of issues in the Code Auditor Report window. Alternatively you can use a shortcut. See how to setup your own shortcuts. Figure: Scan Git Pending Changes ShortcutsCode Auditor has some pre-set shortcuts. These are:
To change them you have to go to Tools -> Options -> Keyboard and in the "Show commands containing" textbox type CodeAudit. This will list all commands that are available in Code Auditor and you can change them to as needed. Figure: Code Auditor Shortcuts RulesSSW Code Auditor comes with 170+ rules which reflect industry best practices rather than coding standards. You can add your own rules, edit existing ones or change severity level according to your needs. Figure: Rules in Code Auditor
We know some rules may get out of date hence we have built in Sync functionality which ensure your rules collection is always up to date. |