6e5e545113a0aa7d8c6296e5fa8edfef65dec639
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 2 | ||
Rename Method public add_no_measure_when_no_file() : void renamed to public add_measure_even_when_leaf_is_not_FILE() : void in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Rename Method public add_no_measure() : void renamed to public measures_are_0_when_there_is_no_input_measure() : void in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute | 8 | ||
Extract Attribute private MODULE_1_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private DIRECTORY_2_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private ROOT_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private FILE_1_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private DIRECTORY_1_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private FILE_3_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private MODULE_2_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Attribute private FILE_2_REF : int in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Method | 18 | ||
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitView(view Component, path Path<Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private assertNoAddedRawMeasure(componentRef int) : void extracted from private verifyProjectViewsHasNoAddedRawMeasures() : void in class org.sonar.server.computation.formula.ViewsFormulaExecutorComponentVisitorTest | From | To | |
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitSubView(subView Component, path Path<Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private assertAddedRawMeasure(componentRef int, variation2Value int, variation5Value int) : void extracted from public verify_aggregation_on_variations() : void in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Method private formulaExecutorComponentVisitor(formula Formula) : FormulaExecutorComponentVisitor extracted from public verify_multi_metric_formula_support_and_aggregation() : void in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitProject(project Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitModule(module Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitFile(file Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private assertAddedRawMeasure(componentRef int, expectedValue int) : void extracted from public verify_aggregation_on_value() : void in class org.sonar.server.computation.formula.ReportFormulaExecutorComponentVisitorTest | From | To | |
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitDirectory(directory Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void extracted from public visitProjectView(projectView Component, path Path<Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Extract Method private formulaExecutorComponentVisitor(formula Formula) : FormulaExecutorComponentVisitor extracted from public verify_multi_metric_formula_support_and_aggregation() : void in class org.sonar.server.computation.formula.ViewsFormulaExecutorComponentVisitorTest | From | To | |
Rename Parameter | 4 | ||
Rename Parameter file : Component to component : Component in method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Rename Parameter module : Component to component : Component in method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Rename Parameter project : Component to component : Component in method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To | |
Rename Parameter directory : Component to component : Component in method private process(component Component, path Path<FormulaExecutorComponentVisitor.Counters>) : void in class org.sonar.server.computation.formula.FormulaExecutorComponentVisitor | From | To |