-
Notifications
You must be signed in to change notification settings - Fork 46
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor methods in `AbstractGhantChartManagerImpl.java`, `AdminChartDataManagerImpl.java`, and `DecisionChartDataManagerImpl.java` to simplify complex code and increase branch coverage. * **AbstractGhantChartManagerImpl.java** - Refactor `createRoleGhant` method to use helper methods for filtering and sorting. - Extract logic for creating Gantt chart into a separate method. - Simplify conditional logic in `createRoleGhant` method. * **AdminChartDataManagerImpl.java** - Refactor `createApplicationActionEventPageDailySummaryChart` method to use helper methods for data processing. - Extract logic for creating chart into a separate method. - Simplify conditional logic in `createApplicationActionEventPageDailySummaryChart` method. - Refactor `createApplicationActionEventPageModeDailySummaryChart` method to use helper methods for data processing. - Extract logic for creating chart into a separate method. - Simplify conditional logic in `createApplicationActionEventPageModeDailySummaryChart` method. - Refactor `createApplicationSessionPageDailySummaryChart` method to use helper methods for data processing. - Extract logic for creating chart into a separate method. - Simplify conditional logic in `createApplicationSessionPageDailySummaryChart` method. * **DecisionChartDataManagerImpl.java** - Refactor `createDecisionTypeChart` method to use helper methods for data processing. - Extract logic for creating chart into a separate method. - Simplify conditional logic in `createDecisionTypeChart` method. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Hack23/cia?shareId=XXXX-XXXX-XXXX-XXXX).
- Loading branch information
Showing
4 changed files
with
56 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -412,4 +412,4 @@ private static void addDecisionDetails( | |
} | ||
} | ||
|
||
} | ||
} |