b87a76fa468a726a61c1c635b4334387398aaa06
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 92
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 6 | ||
Rename Method public build_throws_IAE_if_both_thresholds_are_null() : void renamed to public build_throws_NPE_if_error_threshold_is_null() : void in class org.sonar.ce.task.projectanalysis.api.posttask.ConditionImplTest | From | To | |
Rename Method public fail_to_create_warning_INT_condition_when_value_is_not_an_integer(valueType Metric.ValueType, value String) : void renamed to public update_condition_throws_NPE_if_errorThreshold_is_null() : void in class org.sonar.server.qualitygate.QualityGateConditionsUpdaterTest | From | To | |
Rename Method public buildNoValue_throws_ISE_if_both_warningThreshold_and_errorThreshold_are_null() : void renamed to public buildNoValue_throws_NPE_if_errorThreshold_is_null() : void in class org.sonar.api.ce.posttask.ConditionBuilder_PostProjectAnalysisTaskTesterTest | From | To | |
Rename Method public testErrorAndWarningLevel() : void renamed to public testErrorLevel() : void in class org.sonar.ce.task.projectanalysis.qualitygate.ConditionEvaluatorTest | From | To | |
Rename Method private validateThresholdValues(metric MetricDto, value String, errors List<String>) : void renamed to private validateErrorThresholdValue(metric MetricDto, errorThreshold String, errors List<String>) : void in class org.sonar.server.qualitygate.QualityGateConditionsUpdater | From | To | |
Rename Method public build_throws_ISE_if_both_warningThreshold_and_errorThreshold_are_null() : void renamed to public build_throws_NPE_if_errorThreshold_is_null() : void in class org.sonar.api.ce.posttask.ConditionBuilder_PostProjectAnalysisTaskTesterTest | From | To | |
Inline Method | 1 | ||
Inline Method private test(measure QualityGateEvaluator.Measure, operator Condition.Operator, errorThreshold String, warningThreshold String, expectedStatus EvaluatedCondition.EvaluationStatus, expectedValue String) : void inlined to private test(measure QualityGateEvaluator.Measure, operator Condition.Operator, errorThreshold String, expectedStatus EvaluatedCondition.EvaluationStatus, expectedValue String) : void in class org.sonar.server.qualitygate.ConditionEvaluatorTest | From | To | |
Rename Variable | 2 | ||
Rename Variable equals1ErrorCondition : Condition to equalsOneErrorCondition : Condition in method public new_measures_have_ERROR_level_if_at_least_one_updated_measure_has_ERROR_level() : void in class org.sonar.ce.task.projectanalysis.step.QualityGateMeasuresStepTest | From | To | |
Rename Variable equals1WarningCondition : Condition to equalsOneOkCondition : Condition in method public new_measures_have_ERROR_level_if_at_least_one_updated_measure_has_ERROR_level() : void in class org.sonar.ce.task.projectanalysis.step.QualityGateMeasuresStepTest | From | To | |
Change Return Type | 1 | ||
Change Return Type Optional<String> to String in method public getErrorThreshold() : String in class org.sonar.server.qualitygate.Condition | From | To | |
Change Variable Type | 1 | ||
Change Variable Type threshold : Optional<Comparable> to threshold : Comparable in method private evaluateCondition(condition Condition, type ValueType, value Comparable) : Optional<EvaluatedCondition> in class org.sonar.server.qualitygate.ConditionEvaluator | From | To | |
Inline Variable | 2 | ||
Inline Variable status : EvaluationStatus in method private evaluateCondition(condition Condition, type ValueType, value Comparable, error boolean) : Optional<EvaluatedCondition> from class org.sonar.server.qualitygate.ConditionEvaluator | From | To | |
Inline Variable value : String in method private alertValue(condition Condition, level Measure.Level) : String from class org.sonar.ce.task.projectanalysis.qualitygate.EvaluationResultTextConverterImpl | From | To | |
Rename Parameter | 1 | ||
Rename Parameter value : String to errorThreshold : String in method private validateErrorThresholdValue(metric MetricDto, errorThreshold String, errors List<String>) : void in class org.sonar.server.qualitygate.QualityGateConditionsUpdater | From | To |