b557f0bec62a48753e5d01d7a47f3c9e5a6b3ee8
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 1
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 6 | ||
Rename Variable i : HRegionInfo to hri : HRegionInfo in method public assertRegionMetrics(metric String, expectedValue long) : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Rename Variable t : Table to table : Table in method public testMobMetrics() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute | 14 | ||
Replace Variable With Attribute tName : TableName to tableName : TableName in method public assertRegionMetrics(metric String, expectedValue long) : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testMutationsWithoutWal() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testIncrement() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testCheckAndPutCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public doNPuts(n int, batch boolean) : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testScanTime() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute cfName : byte[] to cf : byte[] in method public testRangeCountMetrics() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute initValue : byte[] to val : byte[] in method public testRangeCountMetrics() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testScanSizeForSmallScan() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testScanSize() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Replace Variable With Attribute t : Table to table : Table in method public testAppend() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Split Attribute | 1 | ||
Split Attribute TEST_UTIL : HBaseTestingUtility to [connection : Connection, table : Table] in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method | 30 | ||
Extract Method public doNPuts(n int, batch boolean) : void extracted from public testScanTime() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testScanTime() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertGauge(metric String, expectedValue long) : void extracted from public testMutationsWithoutWal() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertGauge(metric String, expectedValue long) : void extracted from public testLocalFiles() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertRegionMetrics(metric String, expectedValue long) : void extracted from public testGet() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertRegionMetrics(metric String, expectedValue long) : void extracted from public testScanSize() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertGauge(metric String, expectedValue long) : void extracted from public testStoreCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public doNPuts(n int, batch boolean) : void extracted from public testGet() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testAppend() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public doNPuts(n int, batch boolean) : void extracted from public testScanSizeForSmallScan() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testCheckAndPutCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public doNPuts(n int, batch boolean) : void extracted from public testScanSize() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testScanSizeForSmallScan() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public doNGets(n int, batch boolean) : void extracted from public testRequestCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public doNPuts(n int, batch boolean) : void extracted from public testRequestCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertRegionMetrics(metric String, expectedValue long) : void extracted from public testScanTime() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertRegionMetrics(metric String, expectedValue long) : void extracted from public testScanSizeForSmallScan() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testScanSize() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testMobMetrics() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testIncrement() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertCounter(metric String, expectedValue long) : void extracted from public testRequestCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To | |
Extract Method public assertRegionMetrics(metric String, expectedValue long) : void extracted from public testRequestCount() : void in class org.apache.hadoop.hbase.regionserver.TestRegionServerMetrics | From | To |