Code

Rating   Name Duplication Size Complexity CRAP Changes Bugs Features
B AmpOptimizerSubscriber::isAmpHtml() 0 18 7 7 0 0 0
A AmpOptimizerSubscriber::onKernelResponse() 0 12 5 5 3 0 3
A AmpOptimizerSubscriberTest::getEventNotAmpRequestMocked() 0 17 4 ? 2 2 0
A AmpOptimizerSubscriberTest::getInstanceWithErrorLog() 0 16 1 ? 1 1 0
A AmpOptimizerSubscriberTest::getEventMasterRequestMocked() 0 15 1 ? 1 1 0
A Configuration::getConfigTreeBuilder() 0 14 1 2 1 0 1
A AmpOptimizerSubscriberTest::testNotAmpRequest() 0 11 1 ? 2 2 0
A DependencyInjection\AmpToolboxExtension::load() 0 9 2 6 1 0 1
A AmpOptimizerSubscriber::setEnabled() 0 1 1 1 0 0 0
A AmpOptimizerSubscriberTest::setUp() 0 1 1 ? 0 0 0
A AmpOptimizerSubscriberTest::testTransformRequestWithErrorLog() 0 3 1 ? 0 0 0
A HolaAmpToolboxBundleTest::testGetContainerExtension() 0 3 1 ? 0 0 0
A AmpOptimizerSubscriber::isEnabled() 0 1 1 1 0 0 0
A AmpOptimizerSubscriber::getSubscribedEvents() 0 2 1 1 1 0 1
A AmpOptimizerSubscriber::handleErrors() 0 6 3 3 0 0 0