6d1f5e0471463a16e9c141bd6c53e041fbebd34b
Files Diff
- Added: 4
- Removed: 1
- Renamed: 0
- Modified: 4
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method package stop() : void renamed to public finish() : void in class org.neo4j.test.rule.SamplingProfiler | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type profiler : SamplingProfilerExtension.Profiler to profiler : Profiler in method package PlanRunner(plan Plan, stopSignal AtomicBoolean, profiler Profiler) in class org.neo4j.io.pagecache.randomharness.PlanRunner | From | To | |
Change Parameter Type profiler : SamplingProfilerExtension.Profiler to profiler : Profiler in method public useProfiler(profiler Profiler) : void in class org.neo4j.io.pagecache.randomharness.RandomPageCacheTestHarness | From | To | |
Rename Variable | 1 | ||
Rename Variable closeToStopProfiling : AutoCloseable to profilingRun : Profiler.ProfiledInterval in method public call() : Void in class org.neo4j.io.pagecache.randomharness.PlanRunner | From | To | |
Change Return Type | 3 | ||
Change Return Type AutoCloseable to ProfiledInterval in method public profile(threadToProfile Thread, initialDelayNanos long) : ProfiledInterval in class org.neo4j.test.rule.Profiler | From | To | |
Change Return Type AutoCloseable to ProfiledInterval in method public profile(threadToProfile Thread, initialDelayNanos long) : ProfiledInterval in class org.neo4j.test.rule.SamplingProfilerRule | From | To | |
Change Return Type AutoCloseable to ProfiledInterval in method public profile(threadToProfile Thread, initialDelayNanos long) : ProfiledInterval in class org.neo4j.test.rule.SamplingProfiler | From | To | |
Move And Rename Class | 3 | ||
Move And Rename Class org.neo4j.test.extension.SamplingProfilerExtension.Profiler moved and renamed to org.neo4j.test.rule.Profiler | From | To | |
Move And Rename Class org.neo4j.test.extension.SamplingProfilerExtension.ProfilerImpl moved and renamed to org.neo4j.test.rule.SamplingProfiler | From | To | |
Move And Rename Class org.neo4j.test.extension.SamplingProfilerExtension moved and renamed to org.neo4j.test.rule.SamplingProfilerRule | From | To | |
Change Variable Type | 2 | ||
Change Variable Type level : HashMap<StackTraceElement,Sample> to level : Map<StackTraceElement,Sample> in method private record(root Sample, frames StackTraceElement[]) : void in class org.neo4j.test.rule.SamplingProfiler | From | To | |
Change Variable Type closeToStopProfiling : AutoCloseable to profilingRun : Profiler.ProfiledInterval in method public call() : Void in class org.neo4j.io.pagecache.randomharness.PlanRunner | From | To | |
Extract Method | 2 | ||
Extract Method public finish() : void extracted from private afterEach(failed boolean) : void in class org.neo4j.test.rule.SamplingProfilerRule | From | To | |
Extract Method public printProfile(out PrintStream, profileTitle String) : void extracted from private afterEach(failed boolean) : void in class org.neo4j.test.rule.SamplingProfilerRule | From | To | |
Change Attribute Type | 4 | ||
Change Attribute Type children : HashMap<StackTraceElement,Sample> to children : Map<StackTraceElement,Sample> in class org.neo4j.test.rule.SamplingProfiler.Sample | From | To | |
Change Attribute Type profiler : SamplingProfilerExtension.Profiler to profiler : Profiler in class org.neo4j.io.pagecache.randomharness.PlanRunner | From | To | |
Change Attribute Type profiler : SamplingProfilerExtension.Profiler to profiler : Profiler in class org.neo4j.io.pagecache.randomharness.RandomPageCacheTestHarness | From | To | |
Change Attribute Type profiler : ProfilerImpl to profiler : Profiler in class org.neo4j.test.rule.SamplingProfilerRule | From | To |