Exclude files from analysis based on a cutoff date threshold (or a cutoff period). Any source file that was last modified prior to the configured cutoff date is excluded. This can be useful when you want to analyze the work done on an existing code base and measure the quality of new code/changes only. This way previous phases of the project will not impact the analysis.
- Install the Cutoff plugin through the Update Center or download it into the SONAR SONARQUBE_HOME/extensions/plugins directory
- Restart the Sonar SonarQubeTM server
The cutoff date or cutoff period can be set at global or project level: go to Settings > Configuration > General Settings (or Settings) > Cutoff and set either the '
sonar.cutoff.date' or 'the