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 Operator\ModulusToken::execute() 11 7 1 0 0 0
A Fubhy\Math\Lexer::addConstant() 0 3 1 0 0 0
A Token\Operator\PowerToken::execute() 10 7 1 0 0 0
A Token\Operator\MinusToken::execute() 11 7 1 0 0 0
A Math\Lexer::getCompiledTokenRegex() 0 14 2 0 0 0
A Fubhy\Math\Lexer::removeConstant() 0 3 1 0 0 0
A Fubhy\Math\Lexer::addFunction() 0 3 1 0 0 0
A Calculator::getDefaultOperators() 0 8 1 0 0 0
A Operator\DivisionToken::execute() 11 7 1 0 0 0