Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
{iframe:src=http://update.sonarsource.org/plugins/cutoff.html|width=700|height=250|frameborder=0} Your browser does not support iframes. {iframe}
Wiki Markup
Warning
titleDeprecated

This plugin is deprecated since SonarQube 4.0.

Description / Features

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.

Installation

  1. Install the Cutoff plugin through the Update Center or download it into the SONAR_HOME/extensions/plugins directory
  2. Restart the Sonar server

Usage

Go to plugin settings and choose the cuttoff date or period for the analysis

...

Include Page
Include - Plugin Installation
Include - Plugin Installation

Usage

The cutoff date or cutoff period can be set at global or project level: go to Settings > General Settings > Cutoff and set either the sonar.cutoff.date or the  sonar.cutoff.periodInDays property.

Known Limitations

The plugin currently relies on the file system date which is very random and will be difficult to reproduce on a different machine. The next step is really to get the information from SCM.

...

JIRA Issues
anonymoustrue
titleRelease Version 0.2
height50
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=18846&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

...

JIRA Issues
anonymoustrue
titleRelease Version 0.1.1
height50
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=17362&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000

...

JIRA Issues
anonymoustrue
titleRelease Version 0.1
height50
renderModestatic
width900
columnstype;key;summary;priority
urlhttp://jira.codehaus.org/sr/jira.issueviews:searchrequest-xml/temp/SearchRequest.xml?fixfor=16828&pid=11911&sorter/field=issuekey&sorter/order=DESC&tempMax=1000