6840dc54995084e8410b5b6903353a94034cad34
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 8
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public verify_FILE_and_DIRECTORY_computation_and_aggregation() : void renamed to public verify_LINES_and_FILE_and_DIRECTORY_computation_and_aggregation() : void in class org.sonar.server.computation.task.projectanalysis.step.ReportSizeMeasuresStepTest | From | To | |
Rename Method private verifyMeasuresOnFile(componentRef int, fileCount int) : void renamed to private verifyMeasuresOnOtherComponent(componentRef int, linesCount Integer, fileCount Integer, directoryCount Integer, otherMeasures MeasureRepoEntry...) : void in class org.sonar.server.computation.task.projectanalysis.step.ReportSizeMeasuresStepTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type fileCount : int to fileCount : Integer in method private verifyMeasuresOnOtherComponent(componentRef int, linesCount Integer, fileCount Integer, directoryCount Integer, otherMeasures MeasureRepoEntry...) : void in class org.sonar.server.computation.task.projectanalysis.step.ReportSizeMeasuresStepTest | From | To | |
Change Return Type | 1 | ||
Change Return Type Iterable<Metric> to Stream<Metric> in method private getPluginMetrics(metricsRepositories Metrics[]) : Stream<Metric> in class org.sonar.core.metric.ScannerMetrics | From | To | |
Merge Parameter | 1 | ||
Merge Parameter [dirCount : int, fileCount : int] to counter : Counter in method private createMeasures(directory Component, counter Counter) : void in class org.sonar.server.computation.task.projectanalysis.step.SizeMeasuresStep.FileAndDirectoryMeasureVisitor | From | To | |
Extract Variable | 1 | ||
Extract Variable measureRepoEntries : MeasureRepoEntry[] in method private verifyMeasuresOnOtherComponent(componentRef int, linesCount Integer, fileCount Integer, directoryCount Integer, otherMeasures MeasureRepoEntry...) : void from class org.sonar.server.computation.task.projectanalysis.step.ReportSizeMeasuresStepTest | From | To | |
Extract And Move Method | 2 | ||
Extract And Move Method package aggregate(counter Counter) : void extracted from public visitSubView(subView Component, path Path<Counter>) : void in class org.sonar.server.computation.task.projectanalysis.step.SizeMeasuresStep.FileAndDirectoryMeasureVisitor & moved to class org.sonar.server.computation.task.projectanalysis.step.SizeMeasuresStep.Counter | From | To | |
Extract And Move Method package aggregate(counter Counter) : void extracted from public visitModule(module Component, path Path<Counter>) : void in class org.sonar.server.computation.task.projectanalysis.step.SizeMeasuresStep.FileAndDirectoryMeasureVisitor & moved to class org.sonar.server.computation.task.projectanalysis.step.SizeMeasuresStep.Counter | From | To |