Excluding files from Code Quality analysis
Sometimes there are parts of your Salesforce code that you don't actively intend to maintain. You can choose to exclude/include certain files from Salesforce Code Quality, so that they are never included in your scans, by adding them to the ignore list. This is relevant, for example, in the following circumstances:
Unmanaged packages
Third-party JavaScript libraries
Areas of the code that you are no actively maintaining
There are 2 different ways to do this in Bluefactory Code Quality:
- From the Code Quality dashboard click on the Edit button at the top right. Step 3 allows you to exclude Apex, Lightning or Visualforce files. Type the file name and search it in the list. Click on it again to re-include it in the analysis.
- From the Code Quality dashboard page click on the dashboard Files tab. Click on Apex, Lighting or Visualforce in the left menu. Click on the File name you wish to exclude/include. Depending on include/exclude status of the file, click on the Exclude from analysis/Include in analysis button.