Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B PHPMV\utils\JSX::parseTextNode() 0 14 9 9.03 1 0 1
A PHPMV\utils\JSX::getChildrenStr() 0 15 6 6 3 0 1
A PHPMV\utils\JSX::nodeToJs() 0 15 6 6 6 1 0
A PHPMV\core\ReactClass::parse() 0 11 2 2 1 0 0
A react\ReactJS::createComponent() 0 6 2 2 2 0 2
A react\ReactJS::renderComponent() 0 4 1 1 2 0 2
A PHPMV\utils\JSX::hasBraces() 0 1 2 2 1 1 0
A ReactComponent::onComponentWillUnmount() 0 1 1 2 0 0 0
A ReactComponent::addConstructor() 0 1 1 1 2 0 1
A PHPMV\react\ReactJS::compile() 0 4 2 2 1 0 1
A PHPMV\utils\JSX::cleanJSONFunctions() 0 4 1 1 1 1 0
A react\ReactComponent::addRender() 0 1 1 1 1 0 0
A PHPMV\core\ReactClass::__construct() 0 2 1 1 1 0 0
A PHPMV\core\ReactClass::init() 0 5 1 1 2 0 0
A PHPMV\utils\JSX::toJs() 0 4 1 1 4 1 1