15f8b5caf71d9f3774fde6b41310e2ea32a3a05d
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Variable | 2 | ||
Extract Variable fromBatchResource : BatchResource in method public store(dep Dependency) : void from class org.sonar.batch.sensor.DefaultSensorStorage | From | To | |
Extract Variable toBatchResource : BatchResource in method public store(dep Dependency) : void from class org.sonar.batch.sensor.DefaultSensorStorage | From | To | |
Extract Method | 3 | ||
Extract Method private saveDuplications(context SensorContext, inputFile InputFile, duplications Iterable<CloneGroup>) : void extracted from package save(context SensorContext, inputFile InputFile, duplications Iterable<CloneGroup>) : void in class org.sonar.batch.cpd.JavaCpdEngine | From | To | |
Extract Method private saveMeasures(context SensorContext, inputFile InputFile, duplicatedLines Set<Integer>, duplicatedBlocks int, duplicationByLine Map<Integer,Integer>) : void extracted from package save(context SensorContext, inputFile InputFile, duplications Iterable<CloneGroup>) : void in class org.sonar.batch.cpd.JavaCpdEngine | From | To | |
Extract Method private runCpdAnalysis(languageKey String, context SensorContext, sourceFiles List<InputFile>, index SonarDuplicationsIndex) : void extracted from public analyse(languageKey String, context SensorContext) : void in class org.sonar.batch.cpd.DefaultCpdEngine | From | To |