Sonar常见问题及修改建议(201912):https://blog.csdn.net/libusi001/article/details/103717457
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Refactor this method to reduce its Cognitive Complexity from 65 to the 15 allowed. [+22 locations]
(重构这种方法,将其认知复杂性从65降低到15。)
表示一个方法行数很多比较复杂,同样的解决办法就是抽取方法,讲一个方法拆分几个方法