Rating | Name | Duplication | Size | Complexity | Changes | Bugs | Features |
---|---|---|---|---|---|---|---|
C | CachingPolicy::applyToResponse() | 0 | 26 | 11 | 1 | 0 | 0 |
A | CachingPolicyTest::testCallbackOverride() | 0 | 15 | 1 | 1 | 0 | 0 |
A | CachingPolicyTest::testConfigured() | 0 | 14 | 1 | 1 | 0 | 0 |
A | PageControlledPolicyTest::setUp() | 0 | 11 | 1 | 2 | 0 | 0 |
A | PageControlledPolicyTest::testCustomMaxAgeIsHonoured() | 0 | 10 | 1 | 1 | 0 | 0 |
A | ControllerPolicyMiddleware::process() | 0 | 10 | 4 | 0 | 0 | 0 |
A | CachingPolicyTest::makeRequest() | 0 | 9 | 1 | 1 | 0 | 0 |
A | PageControlledPolicy::updateCMSFields() | 0 | 9 | 3 | 0 | 0 | 0 |
A | Policies\CachingPolicy::getCacheAge() | 0 | 1 | 1 | 0 | 0 | 0 |
A | Tests\CachingPolicyTest::tearDown() | 0 | 4 | 3 | 1 | 0 | 0 |
A | ControllerPolicyMiddleware::shouldCheckHttpHost() | 0 | 1 | 2 | 0 | 0 | 0 |
A | CustomHeaderPolicyTest::testEmptyValuesUnsetHeaders() | 0 | 8 | 1 | 1 | 0 | 0 |
A | CallbackCachingPolicyController::getCacheAge() | 0 | 1 | 1 | 1 | 0 | 0 |
A | ControllerPolicyApplicator::setMiddleware() | 0 | 2 | 1 | 0 | 0 | 0 |
A | CustomHeaderPolicy::applyToResponse() | 0 | 5 | 3 | 0 | 0 | 0 |