core
core copied to clipboard
Refactor ESContentletAPIImpl.setContentletProperty to reduce its Cognitive Complexity
Parent Issue
No response
Task
Sonarqube is reporting the following about ESContentletAPIImpl.setContentletProperty
Refactor this method to reduce its Cognitive Complexity from 76 to the 15 allowed.
Cognitive Complexity of methods should not be too highjava:S3776
The task here consists in doing so: refactoring this method to reduce its cognitive complexity.
Proposed Objective
Please Select
Proposed Priority
Please Select
Acceptance Criteria
- Existing functionality/logic covered by the method working as before.
- Additional automated testing?
External Links... Slack Conversations, Support Tickets, Figma Designs, etc.
No response
Assumptions & Initiation Needs
No response
Quality Assurance Notes & Workarounds
No response
Sub-Tasks & Estimates
No response