Code

Rating   Name Duplication Size Complexity Changes Bugs Features
C Fubhy\Math\Lexer::createToken() 0 30 14 0 0 0
C Fubhy\Math\Calculator::calculate() 0 25 12 0 0 0
C Fubhy\Math\Lexer::postfix() 15 40 25 0 0 0
B Fubhy\Math\Calculator::__construct() 0 11 7 0 0 0
B Fubhy\Math\Lexer::tokenize() 0 13 4 0 0 0
A Calculator::getDefaultFunctions() 0 43 1 0 0 0
A Math\Token\BaseToken::__construct() 0 3 1 0 0 0
A Fubhy\Math\Lexer::removeFunction() 0 3 1 0 0 0
A Math\Token\FunctionToken::execute() 0 7 2 0 0 0
A Operator\MultiplyToken::execute() 11 7 1 0 0 0
A Calculator::getDefaultConstants() 0 4 1 0 0 0
A Fubhy\Math\Lexer::addOperator() 0 6 2 0 0 0
A Operator\ModulusToken::execute() 11 7 1 0 0 0
A Fubhy\Math\Lexer::addConstant() 0 3 1 0 0 0
A Token\Operator\MinusToken::execute() 11 7 1 0 0 0