97a763b7b6de20dd115ce19126602f8731035672
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public setSystemCpuLoad(systemCpuLoad AgentStatPoint<Double>) : void renamed to public SampledCpuLoad(jvmCpuLoad AgentStatPoint<Double>, systemCpuLoad AgentStatPoint<Double>) in class com.navercorp.pinpoint.web.vo.stat.SampledCpuLoad | From | To | |
Move And Inline Method | 1 | ||
Move And Inline Method public setSampledNew(sampledNew AgentStatPoint<Double>) : void moved from class com.navercorp.pinpoint.web.vo.stat.SampledTransaction to class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.TransactionSampler & inlined to public sampleDataPoints(timeWindowIndex int, timestamp long, dataPoints List<TransactionBo>, previousDataPoint TransactionBo) : SampledTransaction | From | To | |
Move Method | 2 | ||
Move Method private newChart(sampledDataSourceList List<SampledDataSource>, filter Function<SampledDataSource,AgentStatPoint<Integer>>) : Chart<AgentStatPoint<Integer>> from class com.navercorp.pinpoint.web.vo.stat.chart.agent.DataSourceChart.DataSourceChartGroup to package newChart(timeWindow TimeWindow, sampledDataSourceList List<SampledDataSource>, filter Function<SampledDataSource,AgentStatPoint<Integer>>) : Chart<AgentStatPoint<Integer>> from class com.navercorp.pinpoint.web.vo.stat.chart.agent.DataSourceChart | From | To | |
Move Method private newDatasourceChart(sampledDataSourceList List<SampledDataSource>) : Map<ChartType,Chart<? extends Point>> from class com.navercorp.pinpoint.web.vo.stat.chart.agent.DataSourceChart.DataSourceChartGroup to package newDatasourceChart(timeWindow TimeWindow, sampledDataSourceList List<SampledDataSource>) : Map<StatChartGroup.ChartType,Chart<? extends Point>> from class com.navercorp.pinpoint.web.vo.stat.chart.agent.DataSourceChart | From | To | |
Rename Variable | 1 | ||
Rename Variable joinDataSourceBo : JoinDataSourceBo to ds : JoinDataSourceBo in method public getJoinDataSourceBoList(timestamp long, joinDataSourceBoList List<JoinDataSourceBo>) : List<JoinDataSourceBo> in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.JoinDataSourceSampler | From | To | |
Change Return Type | 1 | ||
Change Return Type Map<ChartType,Chart<? extends Point>> to Map<StatChartGroup.ChartType,Chart<? extends Point>> in method package newDatasourceChart(timeWindow TimeWindow, sampledDataSourceList List<SampledDataSource>) : Map<StatChartGroup.ChartType,Chart<? extends Point>> in class com.navercorp.pinpoint.web.vo.stat.chart.agent.DataSourceChart | From | To | |
Extract Variable | 1 | ||
Extract Variable dataSourceBo : AggreJoinDataSourceBo in method public getJoinDataSourceBoList(timestamp long, joinDataSourceBoList List<JoinDataSourceBo>) : List<JoinDataSourceBo> from class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.JoinDataSourceSampler | From | To | |
Extract Method | 6 | ||
Extract Method private newAgentStatPoint(slot HistogramSlot, timestamp long, dataPoints List<ActiveTraceBo>, counter ToIntFunction<ActiveTraceHistogram>) : AgentStatPoint<Integer> extracted from public sampleDataPoints(timeWindowIndex int, timestamp long, dataPoints List<ActiveTraceBo>, previousDataPoint ActiveTraceBo) : SampledActiveTrace in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.ActiveTraceSampler | From | To | |
Extract Method public getJoinDataSourceBoList(timestamp long, joinDataSourceBoList List<JoinDataSourceBo>) : List<JoinDataSourceBo> extracted from public sampleDataPoints(index int, timestamp long, joinDataSourceListBoList List<JoinDataSourceListBo>, previousJoinDataSourceListBo JoinDataSourceListBo) : AggreJoinDataSourceListBo in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.JoinDataSourceSampler | From | To | |
Extract Method private getAvg(dataPoints List<ResponseTimeBo>) : List<Long> extracted from public sampleDataPoints(timeWindowIndex int, timestamp long, dataPoints List<ResponseTimeBo>, previousDataPoint ResponseTimeBo) : SampledResponseTime in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.ResponseTimeSampler | From | To | |
Extract Method public filter(deadlockBoList List<DeadlockBo>) : List<Integer> extracted from public sampleDataPoints(index int, timestamp long, deadlockBoList List<DeadlockBo>, previousDataPoint DeadlockBo) : SampledDeadlock in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.DeadlockSampler | From | To | |
Extract Method private calculateTotalTps(dataPoints List<TransactionBo>) : List<Double> extracted from public sampleDataPoints(timeWindowIndex int, timestamp long, dataPoints List<TransactionBo>, previousDataPoint TransactionBo) : SampledTransaction in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.TransactionSampler | From | To | |
Extract Method private getTotalTps(transactionBo TransactionBo) : Double extracted from public sampleDataPoints(timeWindowIndex int, timestamp long, dataPoints List<TransactionBo>, previousDataPoint TransactionBo) : SampledTransaction in class com.navercorp.pinpoint.web.mapper.stat.sampling.sampler.TransactionSampler | From | To |