Details
-
Technical task
-
Status: Approved
-
Could
-
Resolution: Fixed
-
None
-
None
-
Low
Description
SonarQube:
Merging collapsible if statements increases the code's readability.
Problem:
"If" statements broken into several parts.
Solution:
Merging "if" statements into one.
Where the problem occurs:
Support materials:
- explanation of the problem by SonarQube: https://sonar.openmrs.org/coding_rules#rule_key=squid%3AS1066