Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
getInstance0%
getContents0%
getPriority0%
makeList0%
wrap0%
__construct0%
getTempDirManager0%
a570%
readFromMultipart0%
copyFromFile0%
execute0%
__construct0%
readFromMultipart0%
getContents0%
copyFromFile0%
getStreamOrString0%
copyTo0%
getStreamOrString0%
__construct0%
createCommand0%
getPriority0%
a150%
error0%
showHealth0%
showSpec0%
__construct0%
a10%
enableContext0%
disableContext0%
updateMessage0%
getTempDirManager0%
getPriority0%
wrap0%
compileFeaturesByNodeType0%
a370%
getRoot0%
createUnboxedExecutor0%
a410%
copyTo0%
__construct0%
wrap0%
wallTimeLimit0%
__construct0%
disableNetwork0%
procOpenOptions0%
useLogPipe0%
fileSizeLimit0%
memoryLimit0%
cpuTimeLimit0%
noNewPrivs0%
wasReceived0%
a580%
outputFileToStream0%
inputFileFromStream0%
getPriority0%
setLogger0%
a600%
firejailDefaultSeccomp0%
disabledSyscalls0%
privateUserNamespace0%
getDisabledSyscalls0%
getDisableSandbox0%
getDisallowedPaths0%
getAllowedPaths0%
getPrivateDev0%
privateDev0%
getNoNewPrivs0%
getFirejailDefaultSeccomp0%
getPrivateUserNamespace0%
getDisableNetwork0%
disableSandbox0%
disallowedPaths0%
disallowPath0%
allowedPaths0%
allowPath0%
wrap30%
setupConfig36%
getConfig42%
setupLogger48%
getPipeDescriptors50%
copy50%
execute50%
getContents50%
validateRoute50%
escape50%
parseprogram55%
parseOWS57%
parsedouble_backquote_expansion60%
parse60%
jsonDecode60%
addWrappersFromConfiguration61%
discardGREAT61%
discardLESSGREAT63%
discardLESS65%
checkExtension66%
a3366%
getChildren66%
putContents66%
mkdir66%
parsecase_item_ns66%
parsecase_item67%
parsearithmetic_expansion69%
__construct70%
discardAND70%
discardSEMI70%
parsePIPE70%
parsefunction_definition71%
parseelse_part71%
parseuntil_clause71%
parsewhile_clause71%
parsesubshell71%
checkTraversal71%
getHash71%
validateInputFiles71%
parsecase_clause72%
parseif_clause73%
discardWORD73%
discardfor_case_in73%
execute74%
processInput74%
getContents75%
openInputFile75%
openOutputFile75%
readPartAsJson75%
a6875%
parsedo_group75%
readLine75%
parsesingle_quoted_part75%
createTempDirManager75%
parseDELIM75%
parseio_file75%
parsefor_clause75%
guardedExecute75%
parsebare_escape_sequence75%
parse76%
parsecase_list_ns76%
parsehere_end76%
discardNEWLINE77%
discardIn77%
discardDSEMI77%
discardseparator77%
discardsequential_sep77%
parsebackquote_expansion77%
parsefor_name78%
parsebinary_expansion78%
parsebackquoted_escape79%
getNodeType80%
getParentEnvironment80%
getRequiredParam80%
normalizePath80%
getMaxCmdLength80%
parsestring_length80%
parsefunction_body80%
parsepipe_sequence80%
parseand_or81%
parsebrace_group82%
parsesimple_command82%
discardseparator_op83%
deleteDirectory83%
discardPIPE83%
parseASSIGNMENT_WORD83%
decodeTokenOrQuotedString84%
parseio_here84%
readChunk85%
parsepattern85%
parsebraced_parameter_expansion85%
parsenamed_parameter85%
unquoteDoubleQuote85%
discardOR_IF86%
discardAND_IF86%
discardRPAREN86%
discardLPAREN86%
discardEsac86%
discardIf86%
discardRbrace86%
discardThen86%
discardFi86%
discardWhile86%
discardUntil86%
discardCase86%
discardElse86%
discardElif86%
discardDone86%
discardFor86%
discardBang86%
discardLESSAND86%
discardLbrace86%
discardDLESS86%
discardDLESSDASH86%
discardCLOBBER86%
discardGREATAND86%
discardDGREAT86%
buildFinalCommand87%
parseredirect_list87%
parsewordlist87%
processFile87%
parsebrace_expansion87%
parsespecial_parameter88%
discardOWS88%
fixLocaleEnvironment88%
parseshort_positional_parameter88%
merge88%
parsecompound_list89%
unquoteWord89%
parsecmd_suffix89%

Project Risks

Method CRAP
wrap240
wrap182
execute76
parsedouble_backquote_expansion56
parseio_file30
setupConfig30
escape26
parsebinary_expansion25
parsecase_item24
parsebackquote_expansion24
wrap23
parseOWS22
parsecase_clause21
processInput20
compileFeaturesByNodeType20
parsearithmetic_expansion19
parsefor_clause18
parsecase_item_ns17
parseand_or15
discardOWS14
parsesingle_quoted_part14
parsecompound_list14
parseelse_part13
setupLogger13
decodeTokenOrQuotedString13
discardLESS12
makeList12
getTempDirManager12
addWrappersFromConfiguration11
discardGREAT11
parseDELIM11
parseprogram11
parseif_clause10
parsesimple_command10
readChunk10
parsebrace_expansion10
guardedExecute10
normalizePath9
parsepipe_sequence9
parsefunction_definition9
discardWORD9
unquoteWord9
parsebare_escape_sequence8
parse8
parsebackquoted_escape8
parsepattern8
checkTraversal8
discardLESSGREAT7
parseASSIGNMENT_WORD7
parseio_here7
__construct6
discardSEMI6
discardAND6
parsePIPE6
parsewhile_clause6
parseuntil_clause6
parsesubshell6
parsedo_group6
parsecase_list_ns6
discardIn6
discardDSEMI6
parsestring_length6
parsebrace_group6
deleteDirectory6
discardPIPE6
unquoteDoubleQuote6
discardFi6
discardUntil6
discardThen6
discardWhile6
discardLESSAND6
discardElse6
discardElif6
discardGREATAND6
discardDGREAT6
discardCLOBBER6
discardDLESSDASH6
discardDLESS6
discardIf6
discardDone6
discardEsac6
discardAND_IF6
discardCase6
discardOR_IF6
discardFor6
parsecmd_suffix6
__construct6
getPipeDescriptors6
updateMessage6
getPriority6
createUnboxedExecutor6
discardNEWLINE5
discardsequential_sep5
discardseparator5
parsefor_name5
parsefunction_body5
discardLPAREN5
discardRPAREN5
discardLbrace5
discardBang5
discardRbrace5
parseredirect_list5
parsewordlist5
parsespecial_parameter5
fixLocaleEnvironment5
merge5
parseshort_positional_parameter5
getConfig4
getHash4
discardfor_case_in4
execute4
validateRoute4
parsehere_end3
getNodeType3
getParentEnvironment3
discardseparator_op3
parsenamed_parameter3
parsebraced_parameter_expansion3
buildFinalCommand3
copy2
getContents2
parse2
jsonDecode2
checkExtension2
putContents2
a332
getChildren2
mkdir2
validateInputFiles2
createTempDirManager2
readLine2
openOutputFile2
readPartAsJson2
getContents2
openInputFile2
a682
getMaxCmdLength2
getRequiredParam2
processFile2