mumuki/mulang-php

View on GitHub

Showing 2 of 2 total issues

Class AstProcessor has 41 methods (exceeds 20 allowed). Consider refactoring.
Open

  class AstProcessor
    include AST::Sexp
    include Mulang::PHP::Sexp

    def initialize
Severity: Minor
Found in lib/mulang/php/ast_processor.rb - About 5 hrs to fix

    Method define_binary_operators! has 31 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        def define_binary_operators!
          [
            { token: '===', name: 'Identical', supports_assign?: false },
            { token: '!==', name: 'NotIdentical', supports_assign?: false },
            { token: '.', name: 'Concat', supports_assign?: true },
    Severity: Minor
    Found in lib/mulang/php/ast_processor.rb - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language