ae3b5f5b5128b07eaf8896cf9fc52b809ca7cb51
Files Diff
- Added: 2
- Removed: 2
- Renamed: 0
- Modified: 11
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Extract Attribute | 1 | ||
Extract Attribute package sourceData : FileSourceDb.Data.Builder in class org.sonar.server.computation.source.HighlightingLineReaderTest | From | To | |
Rename Class | 2 | ||
Rename Class org.sonar.server.computation.source.RangeHelper renamed to org.sonar.server.computation.source.RangeOffsetHelper | From | To | |
Rename Class org.sonar.server.computation.source.RangeHelperTest renamed to org.sonar.server.computation.source.RangeOffsetHelperTest | From | To | |
Replace Variable With Attribute | 3 | ||
Replace Variable With Attribute lineBuilder : FileSourceDb.Line.Builder to line1 : FileSourceDb.Line.Builder in method public read_one_line() : void in class org.sonar.server.computation.source.HighlightingLineReaderTest | From | To | |
Replace Variable With Attribute lineBuilder : FileSourceDb.Line.Builder to line1 : FileSourceDb.Line.Builder in method public read_nested_syntax_highlighting_on_same_line() : void in class org.sonar.server.computation.source.HighlightingLineReaderTest | From | To | |
Replace Variable With Attribute lineBuilder : FileSourceDb.Line.Builder to line1 : FileSourceDb.Line.Builder in method public read_many_syntax_highlighting_on_same_line() : void in class org.sonar.server.computation.source.HighlightingLineReaderTest | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable sourceLine : String to source : String in method private read(data Data, source String, hasNextLine boolean) : void in class org.sonar.server.computation.source.ComputeFileSourceData | From | To | |
Extract Method | 2 | ||
Extract Method private hasNextLine() : boolean extracted from public compute() : Data in class org.sonar.server.computation.source.ComputeFileSourceData | From | To | |
Extract And Move Method | 4 | ||
Extract And Move Method public offsetToString(range BatchReport.Range, lineIndex int, lineLength int) : String extracted from public append_range_that_began_in_previous_line_and_finish_in_current_line() : void in class org.sonar.server.computation.source.RangeHelperTest & moved to class org.sonar.server.computation.source.RangeOffsetHelper | From | To | |
Extract And Move Method public offsetToString(range BatchReport.Range, lineIndex int, lineLength int) : String extracted from public append_range_that_began_in_previous_line_and_not_finishing_in_current_line() : void in class org.sonar.server.computation.source.RangeHelperTest & moved to class org.sonar.server.computation.source.RangeOffsetHelper | From | To | |
Extract And Move Method public offsetToString(range BatchReport.Range, lineIndex int, lineLength int) : String extracted from public append_range() : void in class org.sonar.server.computation.source.RangeHelperTest & moved to class org.sonar.server.computation.source.RangeOffsetHelper | From | To | |
Extract And Move Method public offsetToString(range BatchReport.Range, lineIndex int, lineLength int) : String extracted from public append_range_not_finishing_in_current_line() : void in class org.sonar.server.computation.source.RangeHelperTest & moved to class org.sonar.server.computation.source.RangeOffsetHelper | From | To |