# ScriptMediator

Element | Missed Instructions | Cov. | Missed Branches | Cov. | Missed | Cxty | Missed | Lines | Missed | Methods
Total | 729 of 1,946 | 62% | 138 of 254 | 45% | 102 | 169 | 125 | 374 | 5 | 42
prepareExternalScript(MessageContext) |  | 37% |  | 22% | 25 | 28 | 43 | 74 | 0 | 1
mediate(MessageContext) |  | 27% |  | 35% | 9 | 11 | 12 | 22 | 0 | 1
processJSONPayload(MessageContext, ScriptMessageContext) |  | 38% |  | 37% | 7 | 9 | 11 | 26 | 0 | 1
invokeScript(MessageContext) |  | 69% |  | 60% | 16 | 25 | 8 | 37 | 0 | 1
getNewScriptEngine() |  | 14% |  | 10% | 5 | 6 | 8 | 11 | 0 | 1
mediateWithExternalScript(MessageContext, Context) |  | 58% |  | 22% | 9 | 10 | 7 | 22 | 0 | 1
initScriptEngine() |  | 91% |  | 80% | 7 | 19 | 2 | 43 | 0 | 1
createNashornEnginePortable() |  | 82% |  | 50% | 1 | 2 | 5 | 15 | 0 | 1
getScriptMessageContext(MessageContext, XMLHelper, Context) |  | 66% |  | 75% | 2 | 5 | 5 | 14 | 0 | 1
initInlineScript() |  | 52% |  | 33% | 3 | 4 | 5 | 11 | 0 | 1
processJSONOutput(Object) |  | 0% |  | 0% | 3 | 3 | 3 | 3 | 1 | 1
ScriptMediator(String, Map, Value, String, ClassLoader) |  | 84% |  | 75% | 1 | 3 | 1 | 20 | 0 | 1
effectiveLoader() |  | 45% |  | 33% | 3 | 4 | 5 | 9 | 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
preprocessJSONInputArgument(JsonElement, ScriptMessageContext) |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
lambda$createNashornEnginePortable$0(Object, Method, Object[]) |  | 76% |  | 50% | 1 | 2 | 1 | 4 | 0 | 1
getLoader() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isContentAltering() |  | 0% |  | n/a | 1 | 1 | 1 | 1 | 1 | 1
isJDKContainNashorn() |  | 85% |  | 50% | 1 | 2 | 0 | 1 | 0 | 1
ScriptMediator(String, String, ClassLoader) |  | 100% |  | n/a | 0 | 1 | 0 | 14 | 0 | 1
getScriptEngineSupplier() |  | 100% |  | 87% | 1 | 5 | 0 | 8 | 0 | 1
prepareForJSON(ScriptMessageContext) |  | 100% |  | 50% | 1 | 2 | 0 | 4 | 0 | 1
lambda$getScriptEngineSupplier$4() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$getScriptEngineSupplier$1() |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
createClassShutter() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
setInputArgumentMap(Map) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
lambda$getScriptEngineSupplier$3() |  | 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
setResultTarget(String) |  | 100% |  | n/a | 0 | 1 | 0 | 2 | 0 | 1
setVariableName(String) |  | 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
getInputArgumentList() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getResultTarget() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
getVariableName() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1
lambda$getScriptEngineSupplier$2() |  | 100% |  | n/a | 0 | 1 | 0 | 1 | 0 | 1