Showing 1 of 10 total issues
Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed. Open
Open
public Token getTokenList(Segment text, int initialTokenType, int startOffset) {
- Read upRead up
- Exclude checks
Cognitive Complexity is a measure of how hard the control flow of a method is to understand. Methods with high Cognitive Complexity will be difficult to maintain.