7fe0eb477df52cfd7254695a67d41f3cba34ef0a
Files Diff
- Added: 2
- Removed: 0
- Renamed: 0
- Modified: 36
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private verifyTaskNode(task TaskStateStats, parentNode JsonNode) : void renamed to private verifyTaskNodes(tasks Collection<TaskStateStats>, parentNode JsonNode) : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type task : TaskStateStats to tasks : Collection<TaskStateStats> in method private verifyTaskNodes(tasks Collection<TaskStateStats>, parentNode JsonNode) : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To | |
Extract Method | 24 | ||
Extract Method private compareExceptions(originalJob AccessExecutionGraph, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobExceptionsHandlerTest | From | To | |
Extract Method private compareFailedCheckpoint(checkpoint FailedCheckpointStats, rootNode JsonNode) : void extracted from public testCheckpointDetailsRequestFailedCheckpoint() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To | |
Extract Method private compareAttemptAccumulators(originalAttempt AccessExecution, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.SubtaskExecutionAttemptAccumulatorsHandlerTest | From | To | |
Extract Method private compareJobOverview(expectedDetails JobDetails, answer String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.CurrentJobsOverviewHandlerTest | From | To | |
Extract Method private createCompletedCheckpoint() : CompletedCheckpointStats extracted from public testCheckpointDetailsRequestCompletedCheckpoint() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To | |
Extract Method private createGraphAndSettings(externalized boolean, exactlyOnce boolean) : GraphAndSettings extracted from public testAtLeastOnce() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointConfigHandlerTest | From | To | |
Extract Method private createGraphAndSettings(externalized boolean, exactlyOnce boolean) : GraphAndSettings extracted from public testEnabledExternalizedCheckpointSettings() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointConfigHandlerTest | From | To | |
Extract Method private compareAccumulators(originalJob AccessExecutionGraph, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobAccumulatorsHandlerTest | From | To | |
Extract Method private createGraphAndSettings(externalized boolean, exactlyOnce boolean) : GraphAndSettings extracted from public testSimpleConfig() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointConfigHandlerTest | From | To | |
Extract Method private createTestCheckpointStats() : TestCheckpointStats extracted from public testCheckpointStatsRequest() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsHandlerTest | From | To | |
Extract Method private compareAttemptDetails(originalAttempt AccessExecution, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.SubtaskExecutionAttemptDetailsHandlerTest | From | To | |
Extract Method private compareCheckpointStats(checkpointStats TestCheckpointStats, rootNode JsonNode) : void extracted from public testCheckpointStatsRequest() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsHandlerTest | From | To | |
Extract Method private compareVertexDetails(originalTask AccessExecutionJobVertex, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobVertexDetailsHandlerTest | From | To | |
Extract Method private compareSubtaskAccumulators(originalTask AccessExecutionJobVertex, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.SubtasksAllAccumulatorsHandlerTest | From | To | |
Extract Method private compareInProgressCheckpoint(inProgress PendingCheckpointStats, inProgressNode JsonNode) : void extracted from public testCheckpointStatsRequest() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsHandlerTest | From | To | |
Extract Method private compareFailedCheckpoint(failed FailedCheckpointStats, failedNode JsonNode) : void extracted from public testCheckpointStatsRequest() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsHandlerTest | From | To | |
Extract Method private compareJobConfig(originalJob AccessExecutionGraph, answer String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobConfigHandlerTest | From | To | |
Extract Method private compareCompletedCheckpoint(checkpoint CompletedCheckpointStats, rootNode JsonNode) : void extracted from public testCheckpointDetailsRequestCompletedCheckpoint() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To | |
Extract Method private compareSubtaskTimes(originalTask AccessExecutionJobVertex, originalAttempt AccessExecution, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.SubtasksTimesHandlerTest | From | To | |
Extract Method private createFailedCheckpoint() : FailedCheckpointStats extracted from public testCheckpointDetailsRequestFailedCheckpoint() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To | |
Extract Method private compareCompletedSavepoint(completedSavepoint CompletedCheckpointStats, completedSavepointNode JsonNode) : void extracted from public testCheckpointStatsRequest() : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsHandlerTest | From | To | |
Extract Method private compareAccumulators(originalTask AccessExecutionJobVertex, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobVertexAccumulatorsHandlerTest | From | To | |
Extract Method private compareVertexTaskManagers(originalTask AccessExecutionJobVertex, originalSubtask AccessExecutionVertex, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobVertexTaskManagersHandlerTest | From | To | |
Extract Method private compareJobDetails(originalJob AccessExecutionGraph, json String) : void extracted from public testJsonGeneration() : void in class org.apache.flink.runtime.webmonitor.handlers.JobDetailsHandlerTest | From | To | |
Rename Parameter | 1 | ||
Rename Parameter task : TaskStateStats to tasks : Collection<TaskStateStats> in method private verifyTaskNodes(tasks Collection<TaskStateStats>, parentNode JsonNode) : void in class org.apache.flink.runtime.webmonitor.handlers.checkpoints.CheckpointStatsDetailsHandlerTest | From | To |