ae09c8785766d362986fb499f2ea4ae46b9a34c8
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method private newFile() : void renamed to private insertFile() : void in class org.sonar.server.source.ws.LinesActionTest | From | To | |
Rename Method private processOverallTest(lineBuilder DbFileSources.Line.Builder, reportCoverage ScannerReport.LineCoverage) : void renamed to private processCoverage(lineBuilder DbFileSources.Line.Builder, reportCoverage ScannerReport.LineCoverage) : void in class org.sonar.server.computation.task.projectanalysis.source.CoverageLineReader | From | To | |
Rename Attribute | 1 | ||
Rename Attribute thrown : ExpectedException to expectedException : ExpectedException in class org.sonar.server.source.ws.LinesActionTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type lines : Optional<Iterable<DbFileSources.Line>> to lines : com.google.common.base.Optional<Iterable<DbFileSources.Line>> in method public handle(request Request, response Response) : void in class org.sonar.server.source.ws.LinesAction | From | To | |
Inline Variable | 1 | ||
Inline Variable request : WsTester.TestRequest in method public fail_to_show_source_if_no_source_found() : void from class org.sonar.server.source.ws.LinesActionTest | From | To | |
Extract Method | 5 | ||
Extract Method private setUserWithValidPermission() : void extracted from public show_paginated_lines() : void in class org.sonar.server.source.ws.LinesActionTest | From | To | |
Extract Method private insertFileWithData(fileData DbFileSources.Data) : void extracted from public show_source() : void in class org.sonar.server.source.ws.LinesActionTest | From | To | |
Extract Method private setUserWithValidPermission() : void extracted from public show_source() : void in class org.sonar.server.source.ws.LinesActionTest | From | To | |
Extract Method private insertFileWithData(fileData DbFileSources.Data) : void extracted from public show_paginated_lines() : void in class org.sonar.server.source.ws.LinesActionTest | From | To | |
Extract Method private setUserWithValidPermission() : void extracted from public fail_to_show_source_if_no_source_found() : void in class org.sonar.server.source.ws.LinesActionTest | From | To |