Classes

Coverage Distribution

Complexity

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
execute0%
getComposerUpdateCommand0%
getComposerNormalizeCommand0%
compareRenderedHookContents0%
getGitRepositoryUrl0%
__construct0%
__destruct0%
error0%
warning0%
notice0%
debug0%
startGroup0%
endGroup0%
group0%
emit0%
supportsWorkflowCommands0%
escapeData0%
escapeProperty0%
getBinaryCommand0%
getProjectRelativeWorkspaceRoot0%
__construct0%
getApiDirectories0%
getDefaultPackageName0%
hasGuideDirectory0%
hasTestsPath0%
hasWikiTarget0%
hasPhpSourceFiles0%
canGenerateApiDocumentation0%
canGenerateDocs0%
canGenerateMetrics0%
canGenerateWiki0%
canRunTests0%
check0%
getCurrentVersion0%
switchTo0%
initializeWikiSubmodule32%
resolveArguments33%
relativizePathFromProject33%
hasExplicitCacheDirArgument33%
isNoCacheRequested33%
isOptionEnabled33%
normalizeAutoloadPaths42%
extractProvidedArguments47%
handleFundingFile56%
optionTokens57%
runAutoUpdateWhenRequested60%
getProcessCommandLine60%
resolveCacheDirArgument60%
readComposerJsonFile66%
readComposerInstalledManifest66%
configureCoverageArguments66%
inferCommandName66%
isComposerTestRun66%
createBufferedOutputCallback66%
writeDetachedOutput66%
addCacheOption66%
execute72%
doRun72%
normalizeStructuredPayload73%
decodeStructuredProcessOutput75%
isRawOutputCommand75%
isAgentPresent75%
setDefault75%
prependLogoSuppressionArgument75%
formatProcessCommandLine75%
resolveNameToString75%
resolveLatestStableVersion75%
applySafeMigrationSet77%
emitGithubActionAnnotation77%
decodeJson80%
getComposerDependencyAnalyserCommand80%
decodeJsonDocumentStream80%
isCacheEnabled80%
resolveRuntimeEnvironment80%
getTime83%
getJackBreakpointCommand83%
getOpenVersionsCommand83%
getRaiseToInstalledCommand83%
execute83%
decodeStructuredOutputAfterTextPreamble83%
normalizeLine83%
resolveRelativeApiDirectory83%
isImplicitJsonOutputEnabled83%
consumeJsonDocument84%
execute85%
configure85%
resolveMaximumOutdated85%
resolveDefinition85%
resolveArrayParameters85%
shouldAddLogoSuppressionArgument85%
execute85%
getRootScriptCommandNames87%
addCacheDirOption87%
handleComposerFile88%
updatedComposerJsonContents88%
getCommandNames88%
resolveMinimumCoverage88%
resolveTypeToString88%

Project Risks

Method Coverage Complexity CRAP
getProjectRelativeWorkspaceRoot0.0%530
extractProvidedArguments47.4%1128
handleFundingFile56.6%1326
execute85.1%2122
error0.0%420
warning0.0%420
notice0.0%420
emit0.0%420
check0.0%420
switchTo0.0%420
normalizeAutoloadPaths42.9%819
consumeJsonDocument84.4%1414
normalizeStructuredPayload73.9%1214
getCurrentVersion0.0%312
handleComposerFile88.3%1010
configureCoverageArguments66.7%810
execute86.0%1010
execute83.3%99
resolveTypeToString88.9%99
resolveLatestStableVersion75.0%89
updatedComposerJsonContents88.5%88
decodeJsonDocumentStream80.0%88
resolveCacheDirArgument60.0%68
decodeStructuredProcessOutput75.0%77
compareRenderedHookContents0.0%26
runAutoUpdateWhenRequested60.0%56
emitGithubActionAnnotation77.8%66
optionTokens57.1%56
__destruct0.0%26
startGroup0.0%26
endGroup0.0%26
supportsWorkflowCommands0.0%26
canGenerateDocs0.0%26
canGenerateWiki0.0%26
canRunTests0.0%26
execute72.5%55
resolveMinimumCoverage88.9%55
initializeWikiSubmodule32.3%35
doRun72.7%55
inferCommandName66.7%55
decodeStructuredOutputAfterTextPreamble83.3%55
writeDetachedOutput66.7%55
getRootScriptCommandNames87.5%44
applySafeMigrationSet77.8%44
getComposerDependencyAnalyserCommand80.0%44
isImplicitJsonOutputEnabled83.3%44
getTime83.3%33
decodeJson80.0%33
getJackBreakpointCommand83.3%33
getOpenVersionsCommand83.3%33
getRaiseToInstalledCommand83.3%33
resolveMaximumOutdated85.7%33
resolveArguments33.3%23
resolveDefinition85.7%33
resolveArrayParameters85.7%33
normalizeLine83.3%33
relativizePathFromProject33.3%23
shouldAddLogoSuppressionArgument85.7%33
resolveRelativeApiDirectory83.3%33
isCacheEnabled80.0%33
hasExplicitCacheDirArgument33.3%23
isNoCacheRequested33.3%23
resolveRuntimeEnvironment80.0%33
isOptionEnabled33.3%23
readComposerJsonFile66.7%22
readComposerInstalledManifest66.7%22
configure85.7%22
getCommandNames88.9%22
isRawOutputCommand75.0%22
isComposerTestRun66.7%22
isAgentPresent75.0%22
setDefault75.0%22
prependLogoSuppressionArgument75.0%22
createBufferedOutputCallback66.7%22
formatProcessCommandLine75.0%22
getProcessCommandLine60.0%22
resolveNameToString75.0%22
addCacheOption66.7%22
addCacheDirOption87.5%22