Skip to content

Refactoring needed for JSONObject.populateMap() #984#985

Closed
harshith8854 wants to merge 1 commit intostleary:masterfrom
harshith8854:master
Closed

Refactoring needed for JSONObject.populateMap() #984#985
harshith8854 wants to merge 1 commit intostleary:masterfrom
harshith8854:master

Conversation

@harshith8854
Copy link
Contributor

cognitive complexity is reduced to 18.
I could think of two more changes to extract conditional checks at line 1841 & 1843 to methods which will reduce the complexity to 16. But, I don't feel good about it.

@sonarqubecloud
Copy link

sonarqubecloud bot commented Jun 4, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant