5d140eb1e005bb57f7d41dc952efdf11dead36ef
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 18
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public getOpenSecurityHotspots() : long renamed to public getInReviewSecurityHotspots() : long in class org.sonar.server.issue.index.SecurityStandardCategoryStatistics | From | To | |
Move And Rename Method | 2 | ||
Move And Rename Method public list_out_transitions_from_security_hotspot_in_status_to_review() : void from class org.sonar.server.issue.workflow.IssueWorkflowTest to public list_out_transitions_in_status_to_review() : void from class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest | From | To | |
Move And Rename Method public automatically_close_resolved_security_hotspots_in_to_review() : void from class org.sonar.server.issue.workflow.IssueWorkflowTest to public automatically_close_resolved_security_hotspots_in_status_to_review() : void from class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest | From | To | |
Move Method | 4 | ||
Move Method public doAutomaticTransition_does_nothing_on_security_hotspots_in_to_review_status() : void from class org.sonar.server.issue.workflow.IssueWorkflowTest to public doAutomaticTransition_does_nothing_on_security_hotspots_in_to_review_status() : void from class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest | From | To | |
Move Method public do_not_allow_to_doManualTransition_when_condition_fails() : void from class org.sonar.server.issue.workflow.IssueWorkflowTest to public do_not_allow_to_doManualTransition_when_condition_fails() : void from class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest | From | To | |
Move Method public do_not_automatically_reopen_closed_issues_of_security_hotspots(previousStatus String) : void from class org.sonar.server.issue.workflow.IssueWorkflowTest to public do_not_automatically_reopen_closed_issues_of_security_hotspots(previousStatus String) : void from class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest | From | To | |
Move Method public do_not_automatically_reopen_closed_issues_of_manual_vulnerability(previousStatus String) : void from class org.sonar.server.issue.workflow.IssueWorkflowTest to public do_not_automatically_reopen_closed_issues_of_manual_vulnerability(previousStatus String) : void from class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest | From | To | |
Rename Variable | 1 | ||
Rename Variable openSecurityHotspots : long to inReviewSecurityHotspots : long in method private processSecurityReportCategorySearchResults(categoryBucket HasAggregations, categoryName String, children List<SecurityStandardCategoryStatistics>) : SecurityStandardCategoryStatistics in class org.sonar.server.issue.index.IssueIndex | From | To | |
Extract Class | 1 | ||
Extract Class org.sonar.server.issue.workflow.IssueWorkflowForSecurityHotspotsTest from class org.sonar.server.issue.workflow.IssueWorkflowTest | From | To | |
Rename Attribute | 2 | ||
Rename Attribute openSecurityHotspots : long to inReviewSecurityHotspots : long in class org.sonar.server.issue.index.SecurityStandardCategoryStatistics | From | To | |
Rename Attribute AGG_OPEN_SECURITY_HOTSPOTS : String to AGG_IN_REVIEW_SECURITY_HOTSPOTS : String in class org.sonar.server.issue.index.IssueIndex | From | To | |
Rename Parameter | 1 | ||
Rename Parameter openSecurityHotspots : long to inReviewSecurityHotspots : long in method public SecurityStandardCategoryStatistics(category String, vulnerabilities long, vulnerabiliyRating OptionalInt, inReviewSecurityHotspots long, toReviewSecurityHotspots long, wontFixSecurityHotspots long, children List<SecurityStandardCategoryStatistics>) in class org.sonar.server.issue.index.SecurityStandardCategoryStatistics | From | To |