Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\Installer\CliInstaller0%
MediaWiki\Installer\WebInstallerInstall0%
MediaWiki\Installer\WebInstaller0%
MediaWiki\Installer\WebInstallerComplete0%
MediaWiki\Installer\WebInstallerCopying0%
MediaWiki\Installer\WebInstallerDBConnect0%
MediaWiki\Installer\WebInstallerDBSettings0%
MediaWiki\Installer\WebInstallerDocument0%
MediaWiki\Installer\WebInstallerExistingWiki0%
MediaWiki\Installer\WebInstallerLanguage0%
MediaWiki\Installer\ConnectionStatus0%
MediaWiki\Installer\WebInstallerName0%
MediaWiki\Installer\WebInstallerOptions0%
MediaWiki\Installer\WebInstallerPage0%
MediaWiki\Installer\WebInstallerReleaseNotes0%
MediaWiki\Installer\WebInstallerRestart0%
MediaWiki\Installer\WebInstallerUpgrade0%
MediaWiki\Installer\WebInstallerUpgradeDoc0%
MediaWiki\Installer\SqliteUpdater0%
MediaWiki\Installer\SqliteConnectForm0%
MediaWiki\Installer\PostgresUpdater0%
MediaWiki\Installer\PostgresSettingsForm0%
MediaWiki\Installer\DatabaseConnectForm0%
MediaWiki\Installer\DatabaseForm0%
MediaWiki\Installer\DatabaseInstaller0%
MediaWiki\Installer\DatabaseSettingsForm0%
MediaWiki\Installer\DatabaseUpdater0%
MediaWiki\Installer\InstallException0%
MediaWiki\Installer\Installer0%
MediaWiki\Installer\InstallerOverrides0%
MediaWiki\Installer\InstallerSessionProvider0%
MediaWiki\Installer\LocalSettingsGenerator0%
MediaWiki\Installer\MysqlConnectForm0%
MediaWiki\Installer\MysqlInstaller0%
MediaWiki\Installer\MysqlSettingsForm0%
MediaWiki\Installer\MysqlUpdater0%
MediaWiki\Installer\PostgresConnectForm0%
MediaWiki\Installer\PostgresInstaller0%
MediaWiki\Installer\WebInstallerWelcome0%
MediaWiki\Installer\SqliteInstaller15%
MediaWiki\Installer\WebInstallerOutput24%
MediaWiki\Installer\Pingback51%

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
__construct0%
changeField0%
checkIndex0%
dropPgIndex0%
changeFkeyDeferrable0%
dropFkey0%
addPgExtIndex0%
addPgIndex0%
changeNullableField0%
dropDefault0%
setDefault0%
changeFieldPurgeTable0%
addPgField0%
dropConstraint0%
dropPgField0%
renameIndex0%
renameTable0%
setSequenceOwner0%
renameSequence0%
dropSequence0%
addSequence0%
ruleDef0%
fkeyDeltype0%
describeIndex0%
changePrimaryKey0%
getHtml0%
getCoreUpdateList0%
createManualTables0%
getFingerprint0%
startSession0%
getLowestUnhappy0%
execute0%
__construct0%
doFixIpbAddressUniqueIndex0%
indexHasField0%
getCoreUpdateList0%
getLocalSettings0%
setupSearchIndex0%
createTables0%
submit0%
makeStubDBFile0%
setupDatabase0%
needsUpgrade0%
openConnection0%
realpath0%
getGlobalDefaults0%
checkPrerequisites0%
getSettingsForm0%
getConnectForm0%
isCompiled0%
getName0%
describeTable0%
getPostgresInstaller0%
errorHandler0%
doLanguageLinksLengthSync0%
getPostgresInstaller0%
submit0%
getHtml0%
fetchOrInsertId0%
getSystemInfo0%
getData0%
setDefault0%
dropDefault0%
getSchemaVars0%
doFixIpbAddressUniqueIndex0%
indexHasField0%
isCompiled0%
getCoreUpdateList0%
getMysqlInstaller0%
submit0%
getHtml0%
getLocalSettings0%
getSchemaVars0%
getTableOptions0%
userDefinitelyExists0%
buildFullUserName0%
setupUser0%
getName0%
getConnectForm0%
submit0%
setupDatabase0%
getHtml0%
setupPLpgSQL0%
getGlobalDefaults0%
createManualTables0%
createTables0%
preUpgrade0%
getLocalSettings0%
setupUser0%
commitChanges0%
setupSchema0%
preInstall0%
getSettingsForm0%
isRoleMember0%
canCreateObjectsForWebUser0%
isSuperUser0%
canCreateAccounts0%
getInstallUserPermissions0%
openConnectionToAnyDB0%
openPgConnection0%
getPgConnection0%
openConnectionWithParams0%
openConnection0%
getConnection0%
showError0%
finish0%
validateExtensions0%
makeMoreInfoLink0%
flush0%
getCssUrl0%
output0%
redirect0%
addHTMLNoFlush0%
addWikiTextAsInterface0%
addHTML0%
__construct0%
submit0%
submitSkins0%
makeScreenshotsLink0%
getHeadAttribs0%
addAdvancedOptions0%
addFileOptions0%
addExtensionOptions0%
addSkinOptions0%
addEmailOptions0%
addModeOptions0%
addPersonalizationOptions0%
execute0%
submit0%
execute0%
getLanguage0%
headerDone0%
execute0%
setVar0%
getFileName0%
showDoneMessage0%
execute0%
isSlow0%
execute0%
getFileName0%
endLiveBox0%
startLiveBox0%
getFieldsetEnd0%
getFieldsetStart0%
getVar0%
outputHeader0%
getId0%
getName0%
endForm0%
startForm0%
addHTML0%
isSlow0%
__construct0%
getCodex0%
getJQuery0%
outputTitle0%
outputFooter0%
getLanguageSelector0%
endStage0%
reset0%
getHelpBox0%
getRadioSet0%
getCheckBox0%
addClassAttrib0%
getPasswordBox0%
getTextArea0%
getTextBox0%
label0%
showStatusMessage0%
showMessage0%
showHelpBox0%
getInfoBox0%
showStatusBox0%
endPageWrapper0%
getPageListItem0%
startPageWrapper0%
getAcceptLanguage0%
setupLanguage0%
nextTabIndex0%
setSession0%
getSession0%
getPageByName0%
getUrl0%
getRadioElements0%
setVarsFromRequest0%
startStage0%
execute0%
execute0%
isSlow0%
handleExistingUpgrade0%
importVariables0%
showKeyForm0%
execute0%
getFileContents0%
execute0%
execute0%
submit0%
getFileName0%
getDocUrl0%
execute0%
infoBox0%
getPhpErrors0%
outputCss0%
outputLS0%
envGetDefaultServer0%
envPrepPath0%
envCheckPath0%
getLocalSettingsLocation0%
makeDownloadLinkHtml0%
makeLinkItem0%
databaseExists0%
setupDatabase0%
preInstall0%
setAutoExtensionHookContainer0%
dropExtensionTable0%
dropExtensionIndex0%
dropExtensionField0%
addExtensionField0%
addExtensionIndex0%
addExtensionTable0%
addExtensionUpdateOnVirtualDomain0%
addExtensionUpdate0%
output0%
getDB0%
newForDB0%
modifyExtensionField0%
loadExtensions0%
loadExtensionSchemaUpdates0%
__construct0%
submitWebUserBox0%
getWebUserBox0%
submit0%
getHtml0%
selectDatabase0%
outputHandler0%
populateInterwikiTable0%
renameExtensionIndex0%
modifyExtensionTable0%
setVar0%
appendLine0%
modifyField0%
dropTable0%
renameIndex0%
dropIndex0%
dropField0%
addIndex0%
addField0%
addTable0%
patchPath0%
applyPatch0%
copyFile0%
tableExists0%
doTable0%
insertUpdateRow0%
updateRowExists0%
runUpdates0%
doUpdates0%
getSchemaVars0%
writeSchemaUpdateFile0%
getPostDatabaseUpdateMaintenance0%
getExtensionUpdates0%
addPostDatabaseUpdateMaintenance0%
fieldExists0%
needsUpgrade0%
getVar0%
runMaintenance0%
dirIsExecutable0%
getTextBox0%
getName0%
setVar0%
getVar0%
__construct0%
submitInstallUserBox0%
getInstallUserBox0%
getDB0%
setDB0%
__construct0%
envGetDefaultServer0%
getCheckBox0%
envCheckPath0%
showStatusMessage0%
showHelpBox0%
getMessageText0%
showError0%
showMessage0%
endStage0%
startStage0%
writeConfigurationFile0%
execute0%
getPasswordBox0%
getRadioSet0%
getInternalDefaults0%
getSchemaVars0%
getGlobalDefaults0%
getReadableName0%
checkExtension0%
__construct0%
getGlobalNames0%
preUpgrade0%
preInstall0%
doUpgrade0%
enableLB0%
setupSchemaVars0%
createExtensionTables0%
setVarsFromRequest0%
getUpdateKeysPath0%
getGeneratedSchemaPath0%
getSchemaPath0%
getSqlFilePath0%
insertUpdateKeys0%
createManualTables0%
createTables0%
stepApplySourceFile0%
getConnection0%
checkPrerequisites0%
meetsMinimumRequirement0%
modifyTable0%
setFileAccess0%
likeToRegex0%
restoreServices0%
getWebInstaller0%
getLocalSettingsGenerator0%
getOverrides0%
disableTimeLimit0%
addInstallStep0%
overrideConfig0%
createMainpage0%
subscribeToMediaWikiAnnounce0%
createSysop0%
doGenerateKeys0%
generateKeys0%
provideSessionInfo0%
performInstallation0%
getInstallSteps0%
getVirtualDomains0%
getAutoExtensionHookContainer0%
getAutoExtensionData0%
includeExtensionFiles0%
getAutoExtensionLegacyHooks0%
includeExtensions0%
getDefaultSkin0%
readExtension0%
getCliInstaller0%
persistsSessionId0%
findExtensionsByType0%
getName0%
canCreateAccounts0%
getCharsets0%
getEngines0%
escapeLikeInternal0%
preUpgrade0%
openConnection0%
meetsMinimumRequirement0%
getSettingsForm0%
getConnectForm0%
isCompiled0%
submit0%
canChangeUser0%
getHtml0%
getDefaultText0%
buildMemcachedServerList0%
writeFile0%
generateExtEnableLine0%
getText0%
escapePhpString0%
setGroupRights0%
__construct0%
unpersistSession0%
persistSession0%
getExtensionInfo0%
findExtensions0%
purgeCache0%
getDefaultSettings0%
getExistingLocalSettings0%
getDBInstaller0%
getDBInstallerClass0%
getCompiledDBs0%
getVar0%
setVar0%
doEnvironmentPreps0%
doEnvironmentChecks0%
getDBTypes0%
resetMediaWikiServices0%
__construct0%
setPassword0%
getInstallerConfig0%
getStatus0%
__construct0%
ifFieldExists0%
ifTableNotExists0%
migrateTemplatelinks0%
rebuildLocalisationCache0%
doConvertDjvuMetadata0%
doCollationUpdate0%
checkStats0%
getFakePassword0%
maybeGetWebserverPrimaryGroup0%
getDocUrl0%
envCheckGit0%
setParserLanguage0%
apacheModulePresent0%
dirIsExecutable0%
envPrepPath0%
envPrepServer0%
envCheckLibicu0%
envCheck64Bit0%
envCheckUploadsServerResponse0%
envCheckUploadsDirectory0%
envCheckPath0%
envCheckServer0%
envCheckGraphics0%
parse0%
envCheckDiff30%
envCheckModSecurity0%
envCheckCache0%
envCheckMemory0%
envCheckPCRE0%
envCheckDB0%
populateSiteStats0%
restoreLinkPopups0%
disableLinkPopups0%
getParserOptions0%
execute0%
checkDataDir75%

Project Risks

Method CRAP
getDefaultText702
execute600
submit462
submit420
__construct380
readExtension380
addExtensionOptions240
submit210
execute156
setupUser156
canCreateAccounts156
getExtensionInfo156
execute132
preUpgrade132
loadExtensions132
runUpdates110
findExtensionsByType90
submit72
submit72
execute72
renameIndex56
submit56
getRadioElements56
ifFieldExists56
execute56
subscribeToMediaWikiAnnounce56
createSysop56
envCheckDB56
createTables56
ifTableNotExists42
openPgConnection42
openConnectionToAnyDB42
modifyField42
isRoleMember42
setupUser42
dirIsExecutable42
describeIndex42
doUpdates42
getCheckBox42
populateInterwikiTable42
startSession42
setupDatabase42
stepApplySourceFile42
execute42
changeNullableField42
renameIndex42
setVarsFromRequest42
getText30
getDefaultSkin30
getInstallSteps30
endStage30
handleExistingUpgrade30
execute30
__construct30
endForm30
getTextArea30
execute30
setupPLpgSQL30
getTextBox30
getPageListItem30
dropDefault30
validateExtensions30
setupSearchIndex30
changeFkeyDeferrable30
changeFieldPurgeTable30
envCheckUploadsServerResponse30
changeField30
getSystemInfo30
modifyTable30
envCheckMemory30
needsUpgrade30
execute20
dropConstraint20
getEngines20
getHtml20
indexHasField20
doLanguageLinksLengthSync20
checkStats20
dropTable20
setupSchema20
addIndex20
addField20
doTable20
checkIndex20
indexHasField20
makeStubDBFile20
generateExtEnableLine20
startPageWrapper20
submitWebUserBox20
getRadioSet20
envCheckPath20
envPrepPath20
execute20
execute20
addSkinOptions20
addAdvancedOptions20
flush20
execute20
resetMediaWikiServices20
applyPatch20
doEnvironmentChecks20
envCheckGraphics20
getExistingLocalSettings20
findExtensions20
performInstallation20
envCheckCache20
getAutoExtensionLegacyHooks20
includeExtensionFiles12
maybeGetWebserverPrimaryGroup12
output12
escapePhpString12
changePrimaryKey12
addPgIndex12
dropFkey12
addPgExtIndex12
setupLanguage12
getAutoExtensionData12
setDefault12
envCheckDiff312
renameTable12
renameSequence12
addSequence12
getFingerprint12
getWebUserBox12
getAcceptLanguage12
importVariables12
showDoneMessage12
execute12
outputFooter12
envCheckGit12
showStatusMessage12
makeScreenshotsLink12
getConnection12
submit12
label12
doUpgrade12
apacheModulePresent12
getGlobalDefaults12
showStatusBox12
getVar12
getPasswordBox12
describeTable12
addTable12
envCheckModSecurity12
createMainpage12
fetchOrInsertId12
getPgConnection12
getDBInstaller12
doConvertDjvuMetadata12
canCreateAccounts12
getOverrides12
canCreateObjectsForWebUser12
getTableOptions12
__construct12
setupDatabase12
setFileAccess12
dropIndex12
dropField12
buildMemcachedServerList12
doFixIpbAddressUniqueIndex12
doCollationUpdate12
setDefault12
setupDatabase12
enableLB6
overrideConfig6
outputLS6
getDocUrl6
setupSchemaVars6
getFileContents6
createExtensionTables6
getLocalSettings6
startStage6
getSqlFilePath6
envPrepServer6
userDefinitelyExists6
getAutoExtensionHookContainer6
meetsMinimumRequirement6
redirect6
doEnvironmentPreps6
getDefaultSettings6
getFileName6
endStage6
meetsMinimumRequirement6
outputHeader6
getLanguage6
openConnection6
output6
submitSkins6
getPasswordBox6
makeMoreInfoLink6
envCheckServer6
addFileOptions6
envCheckPath6
envCheckUploadsDirectory6
addEmailOptions6
getTextBox6
envCheck64Bit6
getLanguageSelector6
migrateTemplatelinks6
purgeCache6
envCheckPCRE6
dropDefault6
submit6
doGenerateKeys6
getInstallUserPermissions6
dropPgIndex6
insertUpdateRow6
isSuperUser6
generateKeys6
preInstall6
appendLine6
getGlobalDefaults6
addPgField6
dropPgField6
patchPath6
getLocalSettings6
setSequenceOwner6
dropSequence6
setPassword6
ruleDef6
fkeyDeltype6
checkPrerequisites6
runMaintenance6
addClassAttrib6
getConnection6
selectDatabase6
getHtml6
showStatusMessage6
getInfoBox6
populateSiteStats6
parse6
getUrl6
showError6
__construct6
getLowestUnhappy6
newForDB6
doFixIpbAddressUniqueIndex6
openConnectionWithParams6
createTables6
includeExtensions6
writeSchemaUpdateFile6
needsUpgrade6
openConnection6
realpath6
checkDataDir5