TestProtocolRecommendations

ElementMissed InstructionsCov.Missed BranchesCov.MissedCxtyMissedLinesMissedMethods
Total2,523 of 2,5230%26 of 260%90905855857777
testSendsAllVariantEtagsInConditionalRequest()1890%120%77343411
shouldInvalidateAllVariantsForUnknownMethod()1720%n/a11353511
testResponseToExistingVariantsUpdatesEntry()1690%n/a11333311
testRetriesValidationThatResultsInAnOlderDated304Response()1620%120%77383811
testResponseToExistingVariantsIsCachedForFutureResponses()1130%n/a11212111
testRevalidatesCachedResponseWithExpirationInThePast()1100%n/a11222211
testUsesBothLastModifiedAndETagForConditionalRequestsIfAvailable()1050%n/a11212111
testUsesLastModifiedDateForCacheConditionalRequests()940%n/a11181811
setUp()890%n/a11181811
shouldInvalidateNonvariantCacheEntryForUnknownMethod()860%n/a11171711
cacheShouldUpdateWithNewCacheableResponse()810%n/a11191911
expiresEqualToDateWithNoCacheControlIsNotCacheable()670%n/a11151511
expiresPriorToDateWithNoCacheControlIsNotCacheable()670%n/a11151511
cacheGenerated304ForValidatorShouldNotContainEntityHeader(String, String, String, String, String)540%n/a11141411
issues304EvenWithWeakETag()480%n/a11121211
testDoesNotModifyHeaderOnRequests(String)440%n/a117711
returns504ForStaleEntryWithOnlyIfCached()440%n/a11111111
returnsStaleCacheEntryWithOnlyIfCachedAndMaxStale()440%n/a11111111
testDoesNotReturnStaleResponseOnError(ClassicHttpRequest)400%20%22101011
testMayReturnStaleResponseIfClientExplicitlySpecifiesAcceptableMaxStale()380%n/a118811
cacheHitOkWithOnlyIfCached()380%n/a11101011
requestToPopulateStaleCacheEntry()350%n/a117711
testDoesNotModifyHeaderOnResponses(String)280%n/a116611
testDoesNotModifyContentRangeOnResponses()270%n/a117711
testDoesNotModifyContentMD5OnRequests()250%n/a117711
testDoesNotModifyContentRangeOnRequests()250%n/a117711
testDoesNotModifyContentTypeOnRequests()250%n/a117711
testDoesNotModifyContentLengthOnRequests()210%n/a116611
execute(ClassicHttpRequest)200%n/a112211
testDoesNotModifyIfUnmodifiedSinceOnRequests()170%n/a114411
testDoesNotModifyLocationOnResponses()170%n/a115511
testDoesNotModifyRetryAfterOnResponses()170%n/a115511
testDoesNotModifyIfMatchOnRequests()160%n/a114411
cacheMissResultsIn504WithOnlyIfCached()150%n/a115511
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFirstHandOneWithCacheControl()140%n/a114411
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxAge()140%n/a114411
testDoesNotReturnStaleResponseIfClientExplicitlySpecifiesLargerMaxAge()140%n/a114411
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMinFresh()140%n/a114411
testDoesNotReturnStaleResponseIfClientExplicitlyRequestsFreshWithMaxStale()140%n/a114411
testDoesNotModifyContentLengthOnResponses()140%n/a114411
testDoesNotModifyContentMD5OnResponses()140%n/a114411
testDoesNotModifyIfRangeOnRequests()140%n/a114411
testDoesNotModifyVaryOnResponses()140%n/a114411
testDoesNotModifyAcceptRangesOnResponses()110%n/a114411
cacheGenerated304ForStrongDateValidatorShouldNotContainEntityHeader(String, String)100%n/a113311
testDoesNotModifyDateOnRequests()100%n/a113311
testDoesNotModifyDateOnResponses()100%n/a113311
testDoesNotModifyExpiresOnResponses()100%n/a113311
testDoesNotModifyIfModifiedSinceOnRequests()100%n/a113311
testDoesNotModifyLastModifiedOnResponses()100%n/a113311
testDoesNotModifyAuthorizationOnRequests()90%n/a113311
testDoesNotModifyContentTypeOnResponses()90%n/a113311
testDoesNotModifyETagOnResponses()90%n/a113311
testDoesNotModifyFromOnRequests()90%n/a113311
testDoesNotModifyIfNoneMatchOnRequests()90%n/a113311
testDoesNotModifyRangeOnRequests()90%n/a113311
testDoesNotModifyRefererOnRequests()90%n/a113311
testDoesNotModifyServerOnResponses()90%n/a113311
testDoesNotModifyUserAgentOnRequests()90%n/a113311
testDoesNotModifyExtensionHeaderOnRequests()90%n/a113311
testDoesNotModifyExtensionHeaderOnResponses()90%n/a113311
cacheGenerated304ForStrongETagValidatorShouldNotContainEntityHeader(String, String)80%n/a112211
cacheGenerated304ForStrongEtagValidatorShouldNotContainLastModified()70%n/a113311
cacheGenerated304ForStrongDateValidatorShouldNotContainLastModified()70%n/a113311
cacheGenerated304ForStrongEtagValidatorShouldNotContainAllow()50%n/a112211
cacheGenerated304ForStrongDateValidatorShouldNotContainAllow()50%n/a112211
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentEncoding()50%n/a112211
cacheGenerated304ForStrongDateValidatorShouldNotContainContentEncoding()50%n/a112211
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentLanguage()50%n/a112211
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLanguage()50%n/a112211
cacheGenerated304ForStrongValidatorShouldNotContainContentLength()50%n/a112211
cacheGenerated304ForStrongDateValidatorShouldNotContainContentLength()50%n/a112211
cacheGenerated304ForStrongValidatorShouldNotContainContentMD5()50%n/a112211
cacheGenerated304ForStrongDateValidatorShouldNotContainContentMD5()50%n/a112211
cacheGenerated304ForStrongEtagValidatorShouldNotContainContentType()50%n/a112211
cacheGenerated304ForStrongDateValidatorShouldNotContainContentType()50%n/a112211
TestProtocolRecommendations()30%n/a111111