98ce9fead9653a5f49e7b8ba00695990b583c30a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Replace Variable With Attribute | 5 | ||
Replace Variable With Attribute kbase : InternalKnowledgeBase to base : InternalKnowledgeBase in method public testAddRemoveFromKB() : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest | From | To | |
Replace Variable With Attribute kbase : InternalKnowledgeBase to base : InternalKnowledgeBase in method public testAddRemoveDeletingFact() : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest | From | To | |
Replace Variable With Attribute kbase : InternalKnowledgeBase to base : InternalKnowledgeBase in method public testRemoveWithDuplicatedCondition() : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest | From | To | |
Replace Variable With Attribute kbase : InternalKnowledgeBase to base : InternalKnowledgeBase in method public testAddRemoveWithPartialSharing() : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest | From | To | |
Replace Variable With Attribute kbase : InternalKnowledgeBase to base : InternalKnowledgeBase in method public testRemoveHasSameConElement() : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveRulesTest | From | To | |
Extract Method | 15 | ||
Extract Method public fireRulesInsertFactsFireRulesRemoveRules1(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public fireRulesInsertFactsFireRulesRemoveRules1(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public runAllTestCases(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public runAllTestCases(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsRemoveRulesFireRulesRemoveRules1(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsRemoveRulesFireRulesRemoveRules1(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsRemoveFire(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsRemoveFire(rule1 String, rule2 String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsFireRulesRemoveRules1(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsFireRulesRemoveRules1(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsRemoveRulesFireRulesRemoveRules2(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsRemoveRulesFireRulesRemoveRules2(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public fireRulesInsertFactsFireRulesRemoveRules2(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public fireRulesInsertFactsFireRulesRemoveRules2(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public buildSessionInSteps(originalKnowledgeBase InternalKnowledgeBase, reuseKieBaseWhenAddingRules boolean, drls String...) : KieSession extracted from public buildSessionInSteps(reuseKieBaseWhenAddingRules boolean, drls String...) : KieSession in class org.drools.compiler.integrationtests.incrementalcompilation.TestUtil | From | To | |
Extract Method public insertFactsFireRulesRemoveRules2(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsFireRulesRemoveRules2(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsRemoveRulesFireRulesRemoveRules3(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsRemoveRulesFireRulesRemoveRules3(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsFireRulesRemoveRulesReinsertRules3(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsFireRulesRemoveRulesReinsertRules3(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsFireRulesRemoveRulesReinsertRules2(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsFireRulesRemoveRulesReinsertRules2(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsFireRulesRemoveRulesReinsertRules1(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsFireRulesRemoveRulesReinsertRules1(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public fireRulesInsertFactsFireRulesRemoveRules3(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public fireRulesInsertFactsFireRulesRemoveRules3(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To | |
Extract Method public insertFactsFireRulesRemoveRules3(originalKnowledgeBase InternalKnowledgeBase, rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void extracted from public insertFactsFireRulesRemoveRules3(rule1 String, rule2 String, rule1Name String, rule2Name String, additionalGlobals Map<String,Object>, facts Object...) : void in class org.drools.compiler.integrationtests.incrementalcompilation.AddRemoveTestCases | From | To |