Source file "com/shapesecurity/salvation2/Policy.java" was not found during generation of report.
| Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods |
| Total | 2,278 of 2,278 | 0% | 438 of 438 | 0% | 288 | 288 | 523 | 523 | 59 | 59 |
| add(String, List, Directive.DirectiveErrorConsumer) | 0% | 0% | 31 | 31 | 94 | 94 | 1 | 1 | ||
| doesElementMatchSourceListForTypeAndSource(Policy.InlineType, Optional, Optional, Optional) | 0% | 0% | 31 | 31 | 40 | 40 | 1 | 1 | ||
| doesUrlMatchSourceListInOrigin(URLWithScheme, HostSourceDirective, Optional) | 0% | 0% | 29 | 29 | 36 | 36 | 1 | 1 | ||
| allowsExternalScript(Optional, Optional, Optional, Optional, Optional) | 0% | 0% | 17 | 17 | 29 | 29 | 1 | 1 | ||
| remove(String) | 0% | 0% | 15 | 15 | 36 | 36 | 1 | 1 | ||
| parseSerializedCSP(String, Policy.PolicyErrorConsumer) | 0% | 0% | 4 | 4 | 17 | 17 | 1 | 1 | ||
| pathPartMatches(String, String) | 0% | 0% | 13 | 13 | 24 | 24 | 1 | 1 | ||
| allowsNavigation(Optional, Optional, Optional, Optional) | 0% | 0% | 11 | 11 | 18 | 18 | 1 | 1 | ||
| parseSerializedCSPList(String, Policy.PolicyListErrorConsumer) | 0% | 0% | 3 | 3 | 12 | 12 | 1 | 1 | ||
| allowsConnection(Optional, Optional) | 0% | 0% | 6 | 6 | 14 | 14 | 1 | 1 | ||
| setReportTo(RFC7230Token) | 0% | 0% | 5 | 5 | 15 | 15 | 1 | 1 | ||
| toString() | 0% | 0% | 4 | 4 | 13 | 13 | 1 | 1 | ||
| hostPartMatches(String, String) | 0% | 0% | 8 | 8 | 13 | 13 | 1 | 1 | ||
| allowsExternalStyle(Optional, Optional, Optional) | 0% | 0% | 6 | 6 | 10 | 10 | 1 | 1 | ||
| schemePartMatches(String, String) | 0% | 0% | 10 | 10 | 4 | 4 | 1 | 1 | ||
| allowsFormAction(Optional, Optional, Optional, Optional) | 0% | 0% | 6 | 6 | 9 | 9 | 1 | 1 | ||
| Policy() | 0% | n/a | 1 | 1 | 11 | 11 | 1 | 1 | ||
| portPartMatches(int, int, String) | 0% | 0% | 7 | 7 | 9 | 9 | 1 | 1 | ||
| allowsJavascriptUrlNavigation(Optional, Optional) | 0% | 0% | 3 | 3 | 2 | 2 | 1 | 1 | ||
| setBlockAllMixedContent(boolean) | 0% | 0% | 4 | 4 | 9 | 9 | 1 | 1 | ||
| setUpgradeInsecureRequests(boolean) | 0% | 0% | 4 | 4 | 9 | 9 | 1 | 1 | ||
| getGoverningDirectiveForEffectiveDirective(FetchDirectiveKind) | 0% | 0% | 3 | 3 | 5 | 5 | 1 | 1 | ||
| allowsEval() | 0% | 0% | 4 | 4 | 3 | 3 | 1 | 1 | ||
| allowsFrame(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsFont(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsImage(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsApplicationManifest(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsMedia(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsObject(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsPrefetch(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| allowsWorker(Optional, Optional) | 0% | 0% | 3 | 3 | 6 | 6 | 1 | 1 | ||
| enforceAscii(String) | 0% | 0% | 2 | 2 | 3 | 3 | 1 | 1 | ||
| collect(String, String) | 0% | 0% | 3 | 3 | 4 | 4 | 1 | 1 | ||
| allowsFrameAncestor(Optional, Optional) | 0% | 0% | 3 | 3 | 5 | 5 | 1 | 1 | ||
| allowsPlugin(Optional) | 0% | 0% | 3 | 3 | 5 | 5 | 1 | 1 | ||
| allowsInlineScript(Optional, Optional, Optional) | 0% | 0% | 3 | 3 | 3 | 3 | 1 | 1 | ||
| allowsScriptAsAttribute(Optional) | 0% | 0% | 3 | 3 | 3 | 3 | 1 | 1 | ||
| stripLeadingWhitespace(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| stripTrailingWhitespace(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$parseSerializedCSPList$0(Policy.PolicyListErrorConsumer, int[], Policy.Severity, String, int, int) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| lambda$allowsJavascriptUrlNavigation$3(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$parseSerializedCSP$1(Policy.PolicyErrorConsumer, int[], Policy.Severity, String, int) | 0% | n/a | 1 | 1 | 2 | 2 | 1 | 1 | ||
| normalizeBase64Url(String) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| allowsInlineStyle(Optional, Optional) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| allowsStyleAsAttribute(Optional) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| getFetchDirective(FetchDirectiveKind) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$doesElementMatchSourceListForTypeAndSource$5(String, Nonce) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$allowsExternalStyle$4(String, Nonce) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| lambda$allowsExternalScript$2(String, Nonce) | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| baseUri() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| formAction() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| frameAncestors() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| navigateTo() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| pluginTypes() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| reportTo() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| reportUri() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| sandbox() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| blockAllMixedContent() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 | ||
| upgradeInsecureRequests() | 0% | n/a | 1 | 1 | 1 | 1 | 1 | 1 |