a3be3906d8213fb18275565ee0a1b40aed5ab1b5
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 8 | ||
Rename Method public do_not_create_measures_when_no_values() : void renamed to public initialize_does_not_create_measure_on_file() : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Rename Method public create_measure() : void renamed to public create_measure_when_initialized_and_input_measure_exists() : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Rename Method public not_create_measure_on_file() : void renamed to private does_not_create_measure_when_only_initialized_and_input_measure_does_not_exist(counter LongSumCounter) : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Rename Method public create_measure() : void renamed to public create_measure_when_initialized_and_input_measure_exists() : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Rename Method public create_measure_when_counter_is_aggregating_from_another_counter() : void renamed to private create_measure_sum_of_init_and_aggregated_other_counter(counter IntSumCounter, inputMeasure Integer, expectedMeasureValue int) : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Rename Method public not_create_measure_on_file() : void renamed to private does_not_create_measure_when_only_initialized_and_input_measure_does_not_exist(counter IntSumCounter) : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Rename Method public create_measure_when_counter_is_aggregating_from_another_counter() : void renamed to private create_measure_sum_of_init_and_aggregated_other_counter(counter LongSumCounter, inputMeasure Long, expectedMeasureValue long) : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Rename Method public do_not_create_measures_when_no_values() : void renamed to public initialize_does_not_create_measure_on_file() : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type LONG_SUM_FORMULA : LongSumFormula to LONG_SUM_FORMULA : SumFormula.LongSumFormula in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Extract Method | 10 | ||
Extract Method private assertCreateNoMeasure(counter LongSumCounter) : void extracted from public not_create_measure_on_file() : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Extract Method private assertCreateMeasureValue(counter LongSumCounter, expectMeasureValue long) : void extracted from public create_measure() : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Extract Method public createIntSumFormula(metricKey String, defaultInputValue Integer) : IntSumFormula extracted from public createIntSumFormula(metricKey String) : IntSumFormula in class org.sonar.server.computation.formula.SumFormula | From | To | |
Extract Method private assertCreateMeasureValue(counter IntSumCounter, expectMeasureValue int) : void extracted from public create_measure_when_counter_is_aggregating_from_another_counter() : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Extract Method private assertCreateNoMeasure(counter IntSumCounter) : void extracted from public not_create_measure_on_file() : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Extract Method public createLongSumFormula(metricKey String, defaultInputValue Long) : LongSumFormula extracted from public createLongSumFormula(metricKey String) : LongSumFormula in class org.sonar.server.computation.formula.SumFormula | From | To | |
Extract Method private initialize_does_not_create_measure_on_file(counter LongSumCounter) : void extracted from public do_not_create_measures_when_no_values() : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Extract Method private initialize_does_not_create_measure_on_file(counter IntSumCounter) : void extracted from public do_not_create_measures_when_no_values() : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To | |
Extract Method private assertCreateMeasureValue(counter LongSumCounter, expectMeasureValue long) : void extracted from public create_measure_when_counter_is_aggregating_from_another_counter() : void in class org.sonar.server.computation.formula.LongSumFormulaTest | From | To | |
Extract Method private assertCreateMeasureValue(counter IntSumCounter, expectMeasureValue int) : void extracted from public create_measure() : void in class org.sonar.server.computation.formula.IntSumFormulaTest | From | To |