tisoft/rsyntaxtextarea-antlr4-extension

View on GitHub

Showing 1 of 10 total issues

Refactor this method to reduce its Cognitive Complexity from 20 to the 15 allowed.
Open

  public Token getTokenList(Segment text, int initialTokenType, int startOffset) {

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.

See

Severity
Category
Status
Source
Language