d24589f13f3e6712be21bacd14b670f5eacdfe8b
Files Diff
- Added: 0
- Removed: 2
- Renamed: 0
- Modified: 23
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 1 | ||
Rename Variable blocks2 : List<Block> to blocks : List<Block> in method private populateIndex(languageKey String, sourceFiles List<InputFile>, mapping CpdMapping, index SonarDuplicationsIndex) : void in class org.sonar.batch.cpd.DefaultCpdEngine | From | To | |
Change Return Type | 1 | ||
Change Return Type List<Duplication> to List<BatchReport.Duplication> in method public duplicationsFor(file InputFile) : List<BatchReport.Duplication> in class org.sonar.batch.mediumtest.TaskResult | From | To | |
Move Attribute | 2 | ||
Move Attribute package settings : Settings from class org.sonar.batch.cpd.index.IndexFactoryTest to private settings : Settings from class org.sonar.batch.cpd.index.SonarDuplicationsIndex | From | To | |
Move Attribute private settings : Settings from class org.sonar.batch.cpd.index.IndexFactory to private settings : Settings from class org.sonar.batch.cpd.index.SonarDuplicationsIndex | From | To | |
Rename Attribute | 4 | ||
Rename Attribute indexFactory : IndexFactory to batchComponentCache : BatchComponentCache in class org.sonar.batch.cpd.JavaCpdEngine | From | To | |
Rename Attribute indexFactory : IndexFactory to batchComponentCache : BatchComponentCache in class org.sonar.batch.cpd.DefaultCpdEngine | From | To | |
Rename Attribute resourceCache : BatchComponentCache to componentCache : BatchComponentCache in class org.sonar.batch.sensor.DefaultSensorStorage | From | To | |
Rename Attribute project : Project to publisher : ReportPublisher in class org.sonar.batch.cpd.DefaultCpdEngine | From | To | |
Change Variable Type | 8 | ||
Change Variable Type cloneGroupFile2 : Duplication to cloneGroupFile2 : BatchReport.Duplication in method public testCrossFileDuplications() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type duplicationGroups : List<Duplication> to duplicationGroups : List<org.sonar.batch.protocol.output.BatchReport.Duplication> in method public truncateDuplication() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type cloneGroup : Duplication to cloneGroup : BatchReport.Duplication in method public truncateDuplication() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type duplicationGroups : List<Duplication> to duplicationGroups : List<org.sonar.batch.protocol.output.BatchReport.Duplication> in method public testIntraFileDuplications() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type duplicationGroupsFile2 : List<Duplication> to duplicationGroupsFile2 : List<org.sonar.batch.protocol.output.BatchReport.Duplication> in method public testCrossFileDuplications() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type cloneGroup : Duplication to cloneGroup : BatchReport.Duplication in method public testIntraFileDuplications() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type cloneGroupFile1 : Duplication to cloneGroupFile1 : BatchReport.Duplication in method public testCrossFileDuplications() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Variable Type duplicationGroupsFile1 : List<Duplication> to duplicationGroupsFile1 : List<org.sonar.batch.protocol.output.BatchReport.Duplication> in method public testCrossFileDuplications() : void in class org.sonar.batch.mediumtest.cpd.CpdMediumTest | From | To | |
Change Attribute Type | 3 | ||
Change Attribute Type project : Project to publisher : ReportPublisher in class org.sonar.batch.cpd.DefaultCpdEngine | From | To | |
Change Attribute Type indexFactory : IndexFactory to batchComponentCache : BatchComponentCache in class org.sonar.batch.cpd.JavaCpdEngine | From | To | |
Change Attribute Type indexFactory : IndexFactory to batchComponentCache : BatchComponentCache in class org.sonar.batch.cpd.DefaultCpdEngine | From | To | |
Rename Parameter | 2 | ||
Rename Parameter resourceCache : BatchComponentCache to componentCache : BatchComponentCache in method public DefaultSensorStorage(metricFinder MetricFinder, moduleIssues ModuleIssues, settings Settings, fs FileSystem, activeRules ActiveRules, duplicationCache DuplicationCache, coverageExclusions CoverageExclusions, componentCache BatchComponentCache, reportPublisher ReportPublisher, measureCache MeasureCache) in class org.sonar.batch.sensor.DefaultSensorStorage | From | To | |
Rename Parameter inputFile : InputFile to file : InputFile in method public duplicationsFor(file InputFile) : List<BatchReport.Duplication> in class org.sonar.batch.mediumtest.TaskResult | From | To |