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 AmpOptimizerSubscriberTest::testSubscribedEvents() 0 3 1 ? 0 0 0
A AmpOptimizerSubscriberTest::getInstanceNotAmpRequest() 0 8 1 ? 1 1 0
A AmpOptimizerSubscriberTest::getInstanceConfigDisabledRequest() 0 7 1 ? 0 0 0
A AmpOptimizerSubscriber::__construct() 0 4 1 1 1 0 1
A AmpOptimizerSubscriberTest::getEventDisabledByPropertyMocked() 0 4 1 ? 0 0 0
A AmpOptimizerSubscriberTest::getEventNotMasterRequestMocked() 0 4 1 ? 0 0 0
A HolaAmpToolboxBundle::getContainerExtension() 0 1 1 1 0 0 0