# ScriptMediator

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 684 of 1,637 | 58% | 114 of 208 | 45% | 84 | 131 | 114 | 326 | 4 | 27
prepareExternalScript(MessageContext) |  | 37% |  | 22% | 25 | 28 | 43 | 74 | 0 | 1
mediate(MessageContext) |  | 23% |  | 30% | 10 | 11 | 13 | 22 | 0 | 1
invokeScript(MessageContext) |  | 59% |  | 65% | 9 | 17 | 9 | 33 | 0 | 1
processJSONPayload(MessageContext, ScriptMessageContext) |  | 39% |  | 42% | 6 | 8 | 11 | 26 | 0 | 1
initScriptEngine() |  | 80% |  | 73% | 10 | 22 | 8 | 50 | 0 | 1
getNewScriptEngine() |  | 19% |  | 16% | 3 | 4 | 5 | 8 | 0 | 1
getScriptMessageContext(MessageContext, XMLHelper, Context) |  | 42% |  | 50% | 2 | 4 | 8 | 14 | 0 | 1
initInlineScript() |  | 52% |  | 33% | 3 | 4 | 5 | 11 | 0 | 1
mediateWithExternalScript(MessageContext, Context) |  | 77% |  | 25% | 4 | 5 | 2 | 13 | 0 | 1
ScriptMediator(String, Map, Value, String, ClassLoader) |  | 80% |  | 75% | 1 | 3 | 1 | 16 | 0 | 1
getOracleNashornFactory() |  | 69% |  | 50% | 2 | 4 | 3 | 9 | 0 | 1
handleException(String) |  | 0% |  | n/a | 1 | 1 | 2 | 2 | 1 | 1
mediateForInlineScript(MessageContext, Context) |  | 81% |  | 50% | 1 | 2 | 1 | 8 | 0 | 1
isJDKContainNashorn() |  | 0% |  | 0% | 2 | 2 | 1 | 1 | 1 | 1
getLoader() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isContentAltering() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
readAccessControlConfigurations(Properties) |  | 100% |  | 50% | 2 | 3 | 0 | 17 | 0 | 1
ScriptMediator(String, String, ClassLoader) |  | 100% |  | n/a | 0 | 1 | 0 | 10 | 0 | 1
prepareForJSON(ScriptMessageContext) |  | 100% |  | 50% | 1 | 2 | 0 | 4 | 0 | 1
createClassShutter() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
static {...} |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
setLoader(ClassLoader) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
getLanguage() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getKey() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getFunction() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getScriptSrc() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getIncludeMap() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1