11f1dc51c363b70f5d6c44425944415209d2a037
Files Diff
- Added: 4
- Removed: 2
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getFileSourceData() : DbFileSources.Data renamed to public getLineData() : DbFileSources.Data in class org.sonar.ce.task.projectanalysis.source.FileSourceDataComputer.Data | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type fileSourceData : ComputeFileSourceData.Data to fileSourceData : FileSourceDataComputer.Data in method private persistSource(fileSourceData FileSourceDataComputer.Data, file Component, latestChangeWithRevision Changeset) : void in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep.FileSourceVisitor | From | To | |
Change Parameter Type sourceLinesRepository : SourceLinesRepository to fileSourceDataComputer : FileSourceDataComputer in method public PersistFileSourcesStep(dbClient DbClient, system2 System2, treeRootHolder TreeRootHolder, sourceLinesHash SourceLinesHashRepository, fileSourceDataComputer FileSourceDataComputer) in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep | From | To | |
Rename Variable | 2 | ||
Rename Variable fileData : DbFileSources.Data to lineData : DbFileSources.Data in method private persistSource(fileSourceData FileSourceDataComputer.Data, file Component, latestChangeWithRevision Changeset) : void in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep.FileSourceVisitor | From | To | |
Rename Variable data : byte[] to binaryData : byte[] in method private persistSource(fileSourceData FileSourceDataComputer.Data, file Component, latestChangeWithRevision Changeset) : void in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep.FileSourceVisitor | From | To | |
Move Attribute | 7 | ||
Move Attribute private scmInfoRepository : ScmInfoRepository from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep to private scmInfoRepository : ScmInfoRepository from class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactory | From | To | |
Move Attribute private duplicationRepository : DuplicationRepository from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep to private duplicationRepository : DuplicationRepository from class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactory | From | To | |
Move Attribute private sourceLinesRepository : SourceLinesRepository from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep to private sourceLinesRepository : SourceLinesRepository from class org.sonar.ce.task.projectanalysis.source.FileSourceDataComputer | From | To | |
Move Attribute private reportReader : BatchReportReader from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep to private reportReader : BatchReportReader from class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactory | From | To | |
Move Attribute public duplicationRepository : DuplicationRepositoryRule from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest to public duplicationRepository : DuplicationRepositoryRule from class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactoryTest | From | To | |
Move Attribute public reportReader : BatchReportReaderRule from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest to public reportReader : BatchReportReaderRule from class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactoryTest | From | To | |
Move Attribute public scmInfoRepository : ScmInfoRepositoryRule from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest to public scmInfoRepository : ScmInfoRepositoryRule from class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactoryTest | From | To | |
Extract Class | 3 | ||
Extract Class org.sonar.ce.task.projectanalysis.source.FileSourceDataComputer from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep | From | To | |
Extract Class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactoryTest from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest | From | To | |
Extract Class org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactory from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep | From | To | |
Rename Class | 1 | ||
Rename Class org.sonar.ce.task.projectanalysis.source.ComputeFileSourceDataTest renamed to org.sonar.ce.task.projectanalysis.source.FileSourceDataComputerTest | From | To | |
Move Class | 2 | ||
Move Class org.sonar.ce.task.projectanalysis.source.ComputeFileSourceData.Data moved to org.sonar.ce.task.projectanalysis.source.FileSourceDataComputer.Data | From | To | |
Move Class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep.LineReaders moved to org.sonar.ce.task.projectanalysis.source.SourceLineReadersFactory.LineReaders | From | To | |
Rename Attribute | 1 | ||
Rename Attribute sourceLinesRepository : SourceLinesRepository to fileSourceDataComputer : FileSourceDataComputer in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep | From | To | |
Inline Variable | 3 | ||
Inline Variable data : DbFileSources.Data in method public persist_coverage() : void from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest | From | To | |
Inline Variable data : DbFileSources.Data in method public persist_symbols() : void from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest | From | To | |
Inline Variable data : DbFileSources.Data in method public persist_scm() : void from class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStepTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type sourceLinesRepository : SourceLinesRepository to fileSourceDataComputer : FileSourceDataComputer in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep | From | To | |
Rename Parameter | 1 | ||
Rename Parameter sourceLinesRepository : SourceLinesRepository to fileSourceDataComputer : FileSourceDataComputer in method public PersistFileSourcesStep(dbClient DbClient, system2 System2, treeRootHolder TreeRootHolder, sourceLinesHash SourceLinesHashRepository, fileSourceDataComputer FileSourceDataComputer) in class org.sonar.ce.task.projectanalysis.step.PersistFileSourcesStep | From | To |