40b5c0d064fb0d553c880c03976df39902ed52bc
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type type : DefaultDebtRemediationFunction.Type to type : DebtRemediationFunction.Type in method public create(type DebtRemediationFunction.Type, coefficient String, offset String) : DebtRemediationFunction in class org.sonar.api.server.rule.DefaultDebtRemediationFunctions | From | To | |
Rename Variable | 2 | ||
Rename Variable cardinality : Cardinality to functionType : DebtRemediationFunction.Type in method private fillRemediationFunction(rule RulesDefinition.NewRule, debtRemediationFunction String, functionOffset String, functionCoeff String) : void in class org.sonar.api.server.rule.RulesDefinitionXmlLoader | From | To | |
Rename Variable status : String to debtSubCharacteristic : String in method private processRule(repo RulesDefinition.NewRepository, ruleC SMInputCursor) : void in class org.sonar.api.server.rule.RulesDefinitionXmlLoader | From | To | |
Rename Attribute | 1 | ||
Rename Attribute thrown : ExpectedException to expectedException : ExpectedException in class org.sonar.api.server.rule.RulesDefinitionXmlLoaderTest | From | To | |
Change Variable Type | 1 | ||
Change Variable Type cardinality : Cardinality to functionType : DebtRemediationFunction.Type in method private fillRemediationFunction(rule RulesDefinition.NewRule, debtRemediationFunction String, functionOffset String, functionCoeff String) : void in class org.sonar.api.server.rule.RulesDefinitionXmlLoader | From | To | |
Extract Method | 2 | ||
Extract Method private fillParams(rule RulesDefinition.NewRule, params List<ParamStruct>) : void extracted from private processRule(repo RulesDefinition.NewRepository, ruleC SMInputCursor) : void in class org.sonar.api.server.rule.RulesDefinitionXmlLoader | From | To | |
Extract Method private fillRemediationFunction(rule RulesDefinition.NewRule, debtRemediationFunction String, functionOffset String, functionCoeff String) : void extracted from private processRule(repo RulesDefinition.NewRepository, ruleC SMInputCursor) : void in class org.sonar.api.server.rule.RulesDefinitionXmlLoader | From | To | |
Rename Parameter | 1 | ||
Rename Parameter offset : String to constant : String in method public constantPerIssue(constant String) : DebtRemediationFunction in class org.sonar.api.server.rule.RulesDefinition.DebtRemediationFunctions | From | To |