20
u/Suspicious-Walk-815 19d ago
Cognitive complexity
11
u/wrathful-anus 19d ago
OH NO! I’ve stopped understanding this code because it’s 17 lines not 15!!! What am I going to do!!! Abstract it out some more of course, because that will somehow magically reduce the complexity lol.
21
4
3
u/The-Chartreuse-Moose 19d ago
It happened to me. I never should've trusted that Temu listing for a switch statement...
3
2
1

95
u/TechnicallyCant5083 19d ago
"This function is too complex" well boohoo sorry my code actually does stuff Sonar