Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
MediaWiki\HTMLForm\CodexHTMLForm0%
MediaWiki\HTMLForm\Field\HTMLSizeFilterField0%
MediaWiki\HTMLForm\Field\HTMLMultiSelectField0%
MediaWiki\HTMLForm\Field\HTMLNamespacesMultiselectField0%
MediaWiki\HTMLForm\Field\HTMLSelectAndOtherField0%
MediaWiki\HTMLForm\Field\HTMLSelectField0%
MediaWiki\HTMLForm\Field\HTMLSelectLanguageField0%
MediaWiki\HTMLForm\Field\HTMLSelectLimitField0%
MediaWiki\HTMLForm\Field\HTMLSelectNamespaceWithButton0%
MediaWiki\HTMLForm\Field\HTMLSelectOrOtherField0%
MediaWiki\HTMLForm\Field\HTMLSubmitField0%
MediaWiki\HTMLForm\Field\HTMLInfoField0%
MediaWiki\HTMLForm\Field\HTMLTagMultiselectField0%
MediaWiki\HTMLForm\Field\HTMLTextAreaField0%
MediaWiki\HTMLForm\Field\HTMLTextField0%
MediaWiki\HTMLForm\Field\HTMLTextFieldWithButton0%
MediaWiki\HTMLForm\Field\HTMLTimezoneField0%
MediaWiki\HTMLForm\Field\HTMLTitlesMultiselectField0%
MediaWiki\HTMLForm\Field\HTMLToggleSwitchField0%
MediaWiki\HTMLForm\Field\HTMLUsersMultiselectField0%
MediaWiki\HTMLForm\CollapsibleFieldsetLayout0%
MediaWiki\HTMLForm\Field\HTMLIntField0%
MediaWiki\HTMLForm\Field\HTMLHiddenField0%
MediaWiki\HTMLForm\Field\HTMLComboboxField0%
MediaWiki\HTMLForm\HTMLFormActionFieldLayout0%
MediaWiki\HTMLForm\HTMLFormFieldLayout0%
MediaWiki\HTMLForm\HTMLFormFieldRequiredOptionsException0%
MediaWiki\HTMLForm\OOUIHTMLForm0%
MediaWiki\HTMLForm\VFormHTMLForm0%
MediaWiki\HTMLForm\Field\HTMLApiField0%
MediaWiki\HTMLForm\Field\HTMLFormFieldWithButton0%
MediaWiki\HTMLForm\HTMLFormElement0%
MediaWiki\HTMLForm\Field\HTMLDateTimeField0%
MediaWiki\HTMLForm\Field\HTMLEditTools0%
MediaWiki\HTMLForm\Field\HTMLExpiryField0%
MediaWiki\HTMLForm\Field\HTMLFormFieldCloner0%
MediaWiki\HTMLForm\Field\HTMLFileField0%
MediaWiki\HTMLForm\Field\HTMLFloatField0%
MediaWiki\HTMLForm\Field\HTMLTagFilter11%
MediaWiki\HTMLForm\Field\HTMLCheckField31%
MediaWiki\HTMLForm\Field\HTMLCheckMatrix33%
MediaWiki\HTMLForm\HTMLForm35%
MediaWiki\HTMLForm\HTMLFormField41%
MediaWiki\HTMLForm\Field\HTMLRadioField47%
MediaWiki\HTMLForm\Field\HTMLAutoCompleteSelectField58%
MediaWiki\HTMLForm\Field\HTMLTitleTextField65%
MediaWiki\HTMLForm\Field\HTMLUserTextField80%
MediaWiki\HTMLForm\Field\HTMLRestrictionsField82%
MediaWiki\HTMLForm\Field\HTMLButtonField88%

Project Risks

Class CRAP
MediaWiki\HTMLForm\HTMLForm16341
MediaWiki\HTMLForm\HTMLFormField10934
MediaWiki\HTMLForm\Field\HTMLFormFieldCloner8190
MediaWiki\HTMLForm\Field\HTMLMultiSelectField2352
MediaWiki\HTMLForm\OOUIHTMLForm2256
MediaWiki\HTMLForm\Field\HTMLTextField1560
MediaWiki\HTMLForm\Field\HTMLDateTimeField1482
MediaWiki\HTMLForm\Field\HTMLSelectOrOtherField1260
MediaWiki\HTMLForm\Field\HTMLSelectAndOtherField1056
MediaWiki\HTMLForm\Field\HTMLUsersMultiselectField870
MediaWiki\HTMLForm\CodexHTMLForm756
MediaWiki\HTMLForm\Field\HTMLTextAreaField650
MediaWiki\HTMLForm\Field\HTMLTagMultiselectField600
MediaWiki\HTMLForm\Field\HTMLTitlesMultiselectField600
MediaWiki\HTMLForm\Field\HTMLNamespacesMultiselectField552
MediaWiki\HTMLForm\Field\HTMLInfoField380
MediaWiki\HTMLForm\Field\HTMLFileField342
MediaWiki\HTMLForm\Field\HTMLCheckMatrix326
MediaWiki\HTMLForm\Field\HTMLTimezoneField306
MediaWiki\HTMLForm\Field\HTMLSelectField240
MediaWiki\HTMLForm\Field\HTMLCheckField212
MediaWiki\HTMLForm\Field\HTMLRadioField179
MediaWiki\HTMLForm\Field\HTMLHiddenField156
MediaWiki\HTMLForm\Field\HTMLTagFilter148
MediaWiki\HTMLForm\Field\HTMLFormFieldWithButton132
MediaWiki\HTMLForm\Field\HTMLSizeFilterField110
MediaWiki\HTMLForm\Field\HTMLAutoCompleteSelectField108
MediaWiki\HTMLForm\Field\HTMLFloatField90
MediaWiki\HTMLForm\Field\HTMLExpiryField90
MediaWiki\HTMLForm\Field\HTMLUserTextField57
MediaWiki\HTMLForm\Field\HTMLComboboxField56
MediaWiki\HTMLForm\Field\HTMLEditTools56
MediaWiki\HTMLForm\Field\HTMLTitleTextField42
MediaWiki\HTMLForm\Field\HTMLToggleSwitchField30
MediaWiki\HTMLForm\Field\HTMLSelectLimitField30
MediaWiki\HTMLForm\Field\HTMLButtonField21
MediaWiki\HTMLForm\Field\HTMLSelectLanguageField20
MediaWiki\HTMLForm\Field\HTMLRestrictionsField16
MediaWiki\HTMLForm\Field\HTMLIntField12
MediaWiki\HTMLForm\HTMLFormElement12
MediaWiki\HTMLForm\CollapsibleFieldsetLayout6

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
loadInputFromParameters0%
getInputOOUI0%
validate0%
loadDataFromRequest0%
needsLabel0%
filterDataForSubmit0%
getDefault0%
loadDataFromRequest0%
shouldInfuseOOUI0%
getOOUIModules0%
getOptionsOOUI0%
getInputOOUI0%
getOneCheckbox0%
formatOptions0%
getInputHTML0%
validate0%
__construct0%
validate0%
needsLabel0%
getCodex0%
getOOUI0%
getInputHTML0%
shouldInfuseOOUI0%
getDiv0%
getInputOOUI0%
getInputHTML0%
validate0%
validate0%
getSize0%
loadDataFromRequest0%
getDefault0%
getInputCodex0%
getInputWidget0%
getOOUIModules0%
getOOUIModules0%
getInputHTML0%
__construct0%
getInputHTML0%
needsLabel0%
formatOptions0%
getInputOOUI0%
getInputHTML0%
validate0%
getInputCodex0%
getRaw0%
getTableRow0%
getInputCodex0%
createFieldsForKey0%
getDefault0%
loadDataFromRequest0%
needsLabel0%
extractFieldData0%
getFieldPath0%
findNearestField0%
parseFieldPath0%
rekeyValuesArray0%
getFieldsForKey0%
validate0%
__construct0%
getInputWidget0%
validate0%
getSize0%
shouldInfuseOOUI0%
getInputWidget0%
getInputOOUI0%
getInputHTML0%
loadDataFromRequest0%
cancelSubmit0%
getInputHTMLForKey0%
getInputOOUI0%
getTableRow0%
getInputHTML0%
getDefault0%
__construct0%
hasVisibleOutput0%
canDisplayErrors0%
getInputHTML0%
getCodex0%
getRaw0%
getDiv0%
getHiddenFieldData0%
getDeleteButtonHtml0%
__construct0%
getElement0%
getInputOOUI0%
getInputHTML0%
__construct0%
getInputOOUI0%
getInputOOUIForKey0%
getInputHTML0%
getCreateButtonHtml0%
getInputOOUI0%
shouldInfuseOOUI0%
getFieldByType0%
__construct0%
getInputHtml0%
getOOUIModules0%
shouldInfuseOOUI0%
getInputWidget0%
getFieldClasses0%
validate0%
getTimeZoneList0%
getTimezoneOptions0%
getFieldLayoutOOUI0%
__construct0%
getInputHTML0%
__construct0%
getDataAttribs0%
getInputWidget0%
buildCodexComponent0%
getInputCodex0%
getInputOOUI0%
getType0%
getInputHTML0%
getDataAttribs0%
loadDataFromRequest0%
getSpellCheck0%
shouldInfuseOOUI0%
getOOUIModules0%
shouldInfuseOOUI0%
getInputWidget0%
getInputOOUI0%
getInputHTML0%
validate0%
loadDataFromRequest0%
getInputHtml0%
getOOUIModules0%
getInputWidget0%
validate0%
getOOUIModules0%
shouldInfuseOOUI0%
getInputOOUI0%
getInputCodex0%
getOOUIModules0%
shouldInfuseOOUI0%
getInputWidget0%
getInputOOUI0%
getInputHTML0%
isPersistent0%
getSize0%
__construct0%
getInputOOUI0%
getOOUIModules0%
getInputWidget0%
getInputHTML0%
getSize0%
getFieldClasses0%
loadDataFromRequest0%
getInputCodex0%
getInputWidget0%
getOOUIModules0%
needsLabel0%
shouldInfuseOOUI0%
getInputHTML0%
__construct0%
getFieldLayoutOOUI0%
getInputHTML0%
__construct0%
shouldInfuseOOUI0%
getOOUIModules0%
validate0%
loadDataFromRequest0%
skipLoadData0%
__construct0%
getInputWidget0%
getInputCodex0%
getInputOOUI0%
getInputHTML0%
getSpellCheck0%
getRows0%
getCols0%
__construct0%
getOOUIModules0%
shouldInfuseOOUI0%
getInputOOUI0%
loadDataFromRequest0%
getInputHTML0%
validate0%
loadDataFromRequest0%
shouldInfuseOOUI0%
getInputOOUI0%
getInputHTML0%
getOOUI0%
getDiv0%
getTableRow0%
getHTML0%
__construct0%
loadDataFromRequest0%
setWrapperLegendMsg0%
setAction0%
getLegend0%
loadData0%
formatField0%
wrapFieldSetSection0%
setMethod0%
setMessagePrefix0%
setWrapperAttributes0%
__construct0%
setWrapperLegend0%
setName0%
setId0%
setTableId0%
getCancelTargetURL0%
setCancelTarget0%
showCancel0%
suppressDefaultSubmit0%
getMessage0%
getJavaScriptClassName0%
setSubmitID0%
getLabelAlignOOUI0%
getErrorsAndErrorClass0%
getHelpTextHtmlRaw0%
getHelpTextHtmlDiv0%
getHelpTextHtmlTable0%
getInline0%
getVForm0%
getInputCodex0%
getCodex0%
getInputOOUI0%
getDiv0%
getTableRow0%
needsLabel0%
parseCondStateForClient0%
getNearestFieldByName0%
hasVisibleOutput0%
canDisplayErrors0%
getInputCodex0%
setFormIdentifier0%
setSubmitTooltip0%
getLabelHtml0%
hasField0%
showAlways0%
show0%
loadInputFromParameters0%
getClassFromDescriptor0%
getDisplayFormat0%
setDisplayFormat0%
getField0%
factory0%
setValidationErrorMessage0%
__construct0%
getButtons0%
formatSection0%
getLegend0%
wrapFieldSetSection0%
wrapForm0%
getFormAttributes0%
formatField0%
wasSubmitted0%
addHeaderHtml0%
setSubmitName0%
addHiddenField0%
setSubmitTextMsg0%
setSubmitDestructive0%
setSubmitText0%
formatErrors0%
displayForm0%
addButton0%
addHiddenFields0%
setSections0%
setHeaderHtml0%
getFooterText0%
setFooterText0%
addFooterText0%
setFooterHtml0%
addFooterHtml0%
getHeaderText0%
setHeaderText0%
addHeaderText0%
getLabel0%
getRaw0%
getTooltipAndAccessKey0%
getDefault0%
shouldInfuseOOUI0%
getOOUIModules0%
getDefault0%
loadDataFromRequest0%
getOneCheckboxHTML0%
getInputOOUI0%
getInputHTML0%
loadDataFromRequest0%
needsLabel0%
getInputHTML0%
getLabelAlignOOUI0%
getLabel0%
getInputOOUI0%
getInputHTML0%
validate0%
needsLabel0%
validate0%
loadDataFromRequest0%
hasVisibleOutput0%
getAttributes0%
getInputOOUI0%
getRaw0%
getTableRow0%
getInputOOUI0%
getOOUIModules0%
shouldInfuseOOUI0%
getInputHTML0%
__construct0%
formatMsg0%
getRaw0%
getDiv0%
getInputHTML0%
shouldInfuseOOUI0%
shouldInfuseOOUI0%
getOOUIModules0%
getInputOOUI0%
formatDate0%
parseDate0%
validate0%
loadDataFromRequest0%
getAttributes0%
__construct0%
getInputHTML0%
getInputOOUI0%
getDiv0%
loadInputFromParameters0%
getHeaderHtml0%
getErrorsOrWarnings0%
formatSection0%
formatField0%
wrapFieldSetSection0%
getButtons0%
getTableRow0%
__construct0%
getBody0%
__construct0%
getJavaScriptClassName0%
__construct0%
needsJSForHtml5FormValidation0%
getMessage0%
formatErrors0%
getOptionsOOUI0%
lookupOptionsKeys0%
formatFormHeader0%
initializeHTMLFormElement0%
getFormAttributes0%
wrapForm0%
getHTML0%
formatField0%
loadInputFromParameters0%
wrapForm0%
formatSection12%
displaySection20%
addFields26%
getButtons30%
getErrorsRaw33%
getOptionDescriptions33%
getTooltipAndAccessKeyOOUI33%
trySubmit35%
loadFieldData37%
getHelpText37%
getOptions42%
needsJSForHtml5FormValidation50%
getHelpMessages55%
getOOUI60%
parseCondState62%
__construct66%
filter66%
__construct66%
msg66%
getAction66%
__construct68%
getHiddenFields68%
getInputHTML72%
wrapForm75%
__construct76%
validate76%
getFormAttributes77%
getErrorsOrWarnings78%
isValidIPRange80%
flattenOptions83%
prepareForm83%
tryAuthorizedSubmit87%
validate87%
getInputHTML88%
getAttributes88%

Project Risks

Method CRAP
getButtons210
getInputHTMLForKey210
getInputOOUI182
getInputOOUI182
getErrorsOrWarnings182
getButtons156
loadDataFromRequest156
trySubmit151
displaySection147
getCodex132
validate110
getInputOOUI110
getInputOOUI110
validate110
validate110
getInputHTML90
validate90
getLabelHtml90
getInputCodex90
createFieldsForKey72
getInputHTML72
getInputOOUI72
getInputOOUI72
getType72
getButtons68
__construct56
formatFormHeader56
validate56
validate56
__construct56
formatErrors56
validate56
getAttributes56
cancelSubmit42
getInputOOUI42
getLegend42
validate42
getInputOOUI42
__construct42
getInputOOUI42
parseDate42
__construct42
validate42
addButton42
__construct42
lookupOptionsKeys42
formatField42
getInputOOUIForKey42
__construct40
formatSection39
getOOUI35
getInputHTML30
validate30
loadDataFromRequest30
loadDataFromRequest30
__construct30
validate30
validate30
getInputOOUI30
getTimeZoneList30
getInputHTML30
factory30
getTableRow30
getInputCodex30
getTimezoneOptions30
loadDataFromRequest30
addFields20
getInputOOUI20
getInputOOUI20
formatOptions20
getDefault20
show20
getClassFromDescriptor20
formatOptions20
setDisplayFormat20
getInputHTML20
formatDate20
getInputCodex20
getLabel20
getInputHTML20
__construct20
getHelpTextHtmlDiv20
getInputCodex20
getDiv20
__construct20
findNearestField20
getInputHTML20
loadDataFromRequest20
getDefault20
getOptionsOOUI20
getHelpTextHtmlTable20
loadFieldData18
getErrorsRaw16
isValidIPRange15
validate15
parseCondState13
getOptions12
__construct12
getOptionDescriptions12
getErrorsOrWarnings12
getInputHTML12
getInputWidget12
getInputOOUI12
validate12
getOneCheckbox12
__construct12
isPersistent12
getSpellCheck12
getInputHTML12
getSpellCheck12
loadDataFromRequest12
getOOUI12
getInputOOUI12
loadDataFromRequest12
filterDataForSubmit12
validate12
getInputCodex12
getInputHTML12
validate12
initializeHTMLFormElement12
getCancelTargetURL12
getInputOOUI12
getErrorsAndErrorClass12
__construct12
loadDataFromRequest12
formatMsg12
wrapForm12
getHiddenFieldData12
addHiddenFields12
formatSection12
getInputOOUI12
getInputHTML12
formatSection12
getHelpText11
getInputHTML10
__construct10
tryAuthorizedSubmit8
validate7
getHelpMessages7
getFormAttributes6
parseCondStateForClient6
setWrapperLegendMsg6
getInputOOUI6
getInputHTML6
getOOUI6
getDiv6
getLegend6
getTableRow6
setCancelTarget6
setSubmitTextMsg6
getTableRow6
buildCodexComponent6
addHiddenField6
setSections6
setFooterHtml6
getInputWidget6
addFooterHtml6
setHeaderHtml6
addHeaderHtml6
loadInputFromParameters6
getField6
__construct6
formatErrors6
getTooltipAndAccessKey6
loadDataFromRequest6
getOOUIModules6
getRaw6
getInputOOUI6
getCodex6
getInputHTML6
getDefault6
__construct6
getInputOOUI6
getOOUIModules6
extractFieldData6
getFieldPath6
parseFieldPath6
getFieldsForKey6
__construct6
getInputWidget6
rekeyValuesArray6
getInputOOUI6
getOptionsOOUI6
getDiv6
getHeaderHtml6
getMessage6
__construct6
loadDataFromRequest6
prepareForm5
getAttributes5
getAction4
getHiddenFields4
needsJSForHtml5FormValidation4
getInputHTML4
getTooltipAndAccessKeyOOUI3
wrapForm3
flattenOptions3
filter2
__construct2
msg2