j-mie6/parsley

View on GitHub

Showing 71 of 231 total issues

File line length exceeds 160 characters
Open

        assume(width != 0 || this.unexpected.pickHigher(EmptyItem) == this.unexpected, s"trying to pick empty item never does anything (${this.unexpected} becomes ${this.unexpected.pickHigher(EmptyItem)})")

File line length exceeds 160 characters
Open

      *   ([[parsley.debugger.combinator$.attachReusableWithFrontend[A](parser:parsley\.Parsley[A],frontend:()=>parsley\.debugger\.frontend\.DebugFrontend,toStringRules* attachDebugger]])

Cyclomatic complexity of 11 exceeds max of 10
Open

        def unapply(cp: Int): Option[String] = {

File line length exceeds 160 characters
Open

      *   [[parsley.debugger.combinator$.attachWithFrontend[A](parser:parsley\.Parsley[A],frontend:parsley\.debugger\.frontend\.DebugFrontend,toStringRules* attachWithFrontend]]

File line length exceeds 160 characters
Open

      *   [[parsley.debugger.combinator$.attachWithFrontend[A](parser:parsley\.Parsley[A],frontend:parsley\.debugger\.frontend\.DebugFrontend,toStringRules* attachWithFrontend]]

Cyclomatic complexity of 20 exceeds max of 10
Open

    override def optimise: StrictParsley[A] = this match {

Cyclomatic complexity of 16 exceeds max of 10
Open

    private def ofRadix(radix: Int, digit: Parsley[Char], leadingDotAllowed: Boolean, endLabel: LabelConfig): Parsley[BigDecimal] = {

Method is longer than 50 lines
Confirmed

    private def ofRadix(radix: Int, digit: Parsley[Char], leadingDotAllowed: Boolean, endLabel: LabelConfig): Parsley[BigDecimal] = {

File line length exceeds 160 characters
Open

      *   ([[parsley.debugger.combinator$.attachWithFrontend[A](parser:parsley\.Parsley[A],frontend:parsley\.debugger\.frontend\.DebugFrontend,toStringRules* attachDebugger]])

Magic Number
Open

        case '\t' => col = ((col + 3) & -4) | 1//((col - 1) | 3) + 2 // scalastyle:ignore magic.number

Cyclomatic complexity of 11 exceeds max of 10
Confirmed

        private [parsley] def process: (Map[String, Long], Map[String, Int]) = {
Severity
Category
Status
Source
Language