460cba0af065e3fcfbc2ab3db33e919fb66391d0
Files Diff
- Added: 5
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Move Method | 2 | ||
| Move Method public of(config ProfilerConfig) : MockApplicationContext from class com.navercorp.pinpoint.test.MockApplicationContext to public of(config ProfilerConfig) : MockApplicationContext from class com.navercorp.pinpoint.test.MockApplicationContextFactory | From | To | |
| Move Method public of(configPath String) : MockApplicationContext from class com.navercorp.pinpoint.test.MockApplicationContext to public of(configPath String) : MockApplicationContext from class com.navercorp.pinpoint.test.MockApplicationContextFactory | From | To | |
| Rename Variable | 1 | ||
| Rename Variable mockTraceContextFactory : MockTraceContextFactory to customContext : MockApplicationContext in method public transactionCountTest() : void in class com.navercorp.pinpoint.profiler.context.DefaultTraceContextTest | From | To | |
| Extract Class | 1 | ||
| Extract Class com.navercorp.pinpoint.test.MockApplicationContextFactory from class com.navercorp.pinpoint.test.MockApplicationContext | From | To | |
| Replace Variable With Attribute | 1 | ||
| Replace Variable With Attribute mockTraceContextFactory : MockTraceContextFactory to applicationContext : MockApplicationContext in method public setUp() : void in class com.navercorp.pinpoint.profiler.context.active.ActiveTraceRepositoryTest | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type mockTraceContextFactory : MockTraceContextFactory to customContext : MockApplicationContext in method public transactionCountTest() : void in class com.navercorp.pinpoint.profiler.context.DefaultTraceContextTest | From | To | |
| Change Variable Type mockTraceContextFactory : MockTraceContextFactory to applicationContext : MockApplicationContext in method public setUp() : void in class com.navercorp.pinpoint.profiler.context.active.ActiveTraceRepositoryTest | From | To | |
| Extract Method | 4 | ||
| Extract Method private readProfilerConfig(configPath String, classLoader ClassLoader) : ProfilerConfig extracted from public of(configPath String) : MockApplicationContext in class com.navercorp.pinpoint.test.MockApplicationContextFactory | From | To | |
| Extract Method private getFilePath(classLoader ClassLoader, configPath String) : String extracted from public of(configPath String) : MockApplicationContext in class com.navercorp.pinpoint.test.MockApplicationContextFactory | From | To | |
| Extract Method private loadProfilerConfig(path String) : ProfilerConfig extracted from public of(configPath String) : MockApplicationContext in class com.navercorp.pinpoint.test.MockApplicationContextFactory | From | To | |
| Extract Method public of(config ProfilerConfig, binder InterceptorRegistryBinder, moduleFactory ModuleFactory) : MockApplicationContext extracted from public of(config ProfilerConfig) : MockApplicationContext in class com.navercorp.pinpoint.test.MockApplicationContextFactory | From | To |