7ebe878335698392cd48fef42b23517cb250b469
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public findByProjectKey(projectKey String) : List<AnalysisReportDto> renamed to public selectByProjectKey(projectKey String) : List<AnalysisReportDto> in class org.sonar.server.computation.ReportQueue | From | To | |
Rename Attribute | 1 | ||
Rename Attribute dbTester : DbTester to db : DbTester in class org.sonar.server.computation.ReportQueueTest | From | To | |
Extract Method | 14 | ||
Extract Method private dao() : AnalysisReportDao extracted from public remove(item Item) : void in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private newDefaultReport() : AnalysisReportDto extracted from public fail_if_corrupted_zip() : void in class org.sonar.server.computation.ComputationServiceTest | From | To | |
Extract Method private dao() : AnalysisReportDao extracted from public findByProjectKey(projectKey String) : List<AnalysisReportDto> in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private newDefaultReport() : AnalysisReportDto extracted from public debug_logs() : void in class org.sonar.server.computation.ComputationServiceTest | From | To | |
Extract Method private dao() : AnalysisReportDao extracted from public pop() : Item in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private newDefaultReport() : AnalysisReportDto extracted from public step_error() : void in class org.sonar.server.computation.ComputationServiceTest | From | To | |
Extract Method private dao() : AnalysisReportDao extracted from public all() : List<AnalysisReportDto> in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private saveReportMetadataInDatabase(projectKey String, uuid String, session DbSession) : AnalysisReportDto extracted from public add(projectKey String, reportData InputStream) : Item in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private dao() : AnalysisReportDao extracted from public resetToPendingStatus() : void in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private newDefaultReport() : AnalysisReportDto extracted from public process_project() : void in class org.sonar.server.computation.ComputationServiceTest | From | To | |
Extract Method private saveReportOnDisk(reportData InputStream, file File) : void extracted from public add(projectKey String, reportData InputStream) : Item in class org.sonar.server.computation.ReportQueue | From | To | |
Extract Method private generateZip(snapshotId long) : File extracted from private generateZip() : File in class org.sonar.server.computation.ComputationServiceTest | From | To | |
Extract Method private dao() : AnalysisReportDao extracted from public clear() : void in class org.sonar.server.computation.ReportQueue | From | To | |
Rename Parameter | 1 | ||
Rename Parameter queueItem : ReportQueue.Item to item : ReportQueue.Item in method private loadProject(item ReportQueue.Item) : ComponentDto in class org.sonar.server.computation.ComputationService | From | To |