db30e4ece39c2dfd0c41b4d9eb612d5b494afd18
Files Diff
- Added: 3
- Removed: 4
- Renamed: 0
- Modified: 43
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public selectComponentsFromProjectUuid(session DbSession, projectKey String) : List<ComponentDto> renamed to public selectComponentsFromProjectKey(session DbSession, projectKey String) : List<ComponentDto> in class org.sonar.server.component.db.ComponentDao | From | To | |
Move And Rename Method | 1 | ||
Move And Rename Method public persist_with_branch() : void from class org.sonar.server.computation.step.PersistComponentsStepTest to public add_components() : void from class org.sonar.server.computation.step.FeedComponentsCacheStepTest | From | To | |
Move Method | 3 | ||
Move Method public use_latest_module_for_files_key() : void from class org.sonar.server.computation.step.PersistComponentsStepTest to public use_latest_module_for_files_key() : void from class org.sonar.server.computation.step.FeedComponentsCacheStepTest | From | To | |
Move Method public getUuid() : String from class org.sonar.batch.protocol.output.BatchReport.Component.Builder to public getUuid() : String from class org.sonar.server.computation.component.ComputeComponentsRefCache.ComputeComponent | From | To | |
Move Method public getUuid() : String from class org.sonar.batch.protocol.output.BatchReport.Component to public getUuid() : String from class org.sonar.server.computation.component.ComputeComponentsRefCache.ComputeComponent | From | To | |
Rename Variable | 2 | ||
Rename Variable moduleA : ComponentDto to moduleAreloaded : ComponentDto in method public update_module_uuid_when_moving_a_module() : void in class org.sonar.server.computation.step.PersistComponentsStepTest | From | To | |
Rename Variable nextNearestModule : BatchReport.Component to nextModuleParent : BatchReport.Component in method private recursivelyProcessComponent(context ComputationContext, componentRef int, nearestModule BatchReport.Component, componentDtosByKey Map<String,ComponentDto>) : void in class org.sonar.server.computation.step.FeedComponentsCacheStep | From | To | |
Change Return Type | 2 | ||
Change Return Type java.lang.String to String in method public getUuid() : String in class org.sonar.server.computation.component.ComputeComponentsRefCache.ComputeComponent | From | To | |
Move Attribute | 3 | ||
Move Attribute public temp : TemporaryFolder from class org.sonar.server.computation.step.ComponentUuidsCacheTest to public temp : TemporaryFolder from class org.sonar.server.computation.step.IndexComponentsStepTest | From | To | |
Move Attribute public temp : TemporaryFolder from class org.sonar.server.computation.step.ComponentUuidsCacheTest to public temp : TemporaryFolder from class org.sonar.server.computation.step.IndexTestsStepTest | From | To | |
Move Attribute public temp : TemporaryFolder from class org.sonar.server.computation.step.ComponentUuidsCacheTest to public temp : TemporaryFolder from class org.sonar.server.computation.step.IndexSourceLinesStepTest | From | To | |
Extract Class | 2 | ||
Extract Class org.sonar.server.computation.component.ComputeComponentsRefCache.ComputeComponent from class org.sonar.batch.protocol.output.BatchReport.Component.Builder | From | To | |
Extract Class org.sonar.server.computation.component.ComputeComponentsRefCache.ComputeComponent from class org.sonar.batch.protocol.output.BatchReport.Component | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private METRIC_KEY : String in class org.sonar.server.computation.step.PersistMeasuresStepTest | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class org.sonar.server.computation.component.Component moved and renamed to org.sonar.server.computation.component.DbComponentsRefCache.DbComponent | From | To | |
Extract Variable | 3 | ||
Extract Variable componentUuid : String in method private persistSource(fileSourcesContext FileSourcesContext, fileSourceData ComputeFileSourceData.Data, component BatchReport.Component) : void from class org.sonar.server.computation.step.PersistFileSourcesStep | From | To | |
Extract Variable componentUuid : String in method private processLinks(session DbSession, component BatchReport.Component) : void from class org.sonar.server.computation.step.PersistProjectLinksStep | From | To | |
Extract Variable bgValue : BigDecimal in method private getHashMap(resultSet ResultSet) : List<Map<String,Object>> from class org.sonar.core.persistence.DbTester | From | To | |
Rename Parameter | 2 | ||
Rename Parameter componentPath : String to componentKey : String in method private createXmlDuplications(duplicationContext DuplicationContext, componentKey String, duplications Iterable<BatchReport.Duplication>) : String in class org.sonar.server.computation.step.PersistDuplicationsStep | From | To | |
Rename Parameter parentComponentKey : String to componentKey : String in method private processDuplicationBlock(duplicationContext DuplicationContext, xml StringBuilder, duplicate BatchReport.Duplicate, componentKey String) : void in class org.sonar.server.computation.step.PersistDuplicationsStep | From | To |