Refactor [SonarQube] reduce method complexity
Refactor [SonarQube] reduce method complexity
Refactor [SonarQube] reduce method complexity