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\HTMLTagFilter0%
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\HTMLFileField0%
MediaWiki\HTMLForm\Field\HTMLFloatField0%
MediaWiki\HTMLForm\Field\HTMLFormFieldCloner0%
MediaWiki\HTMLForm\Field\HTMLCheckMatrix27%
MediaWiki\HTMLForm\Field\HTMLCheckField31%
MediaWiki\HTMLForm\HTMLForm35%
MediaWiki\HTMLForm\HTMLFormField42%
MediaWiki\HTMLForm\Field\HTMLRadioField47%
MediaWiki\HTMLForm\Field\HTMLAutoCompleteSelectField58%
MediaWiki\HTMLForm\Field\HTMLTitleTextField65%
MediaWiki\HTMLForm\Field\HTMLRestrictionsField82%
MediaWiki\HTMLForm\Field\HTMLUserTextField83%
MediaWiki\HTMLForm\Field\HTMLButtonField88%

Project Risks

Class CRAP
MediaWiki\HTMLForm\HTMLForm16341
MediaWiki\HTMLForm\HTMLFormField10210
MediaWiki\HTMLForm\Field\HTMLFormFieldCloner8190
MediaWiki\HTMLForm\OOUIHTMLForm2256
MediaWiki\HTMLForm\Field\HTMLMultiSelectField1722
MediaWiki\HTMLForm\Field\HTMLTextField1560
MediaWiki\HTMLForm\Field\HTMLDateTimeField1482
MediaWiki\HTMLForm\Field\HTMLSelectOrOtherField1260
MediaWiki\HTMLForm\Field\HTMLSelectAndOtherField1056
MediaWiki\HTMLForm\Field\HTMLUsersMultiselectField756
MediaWiki\HTMLForm\CodexHTMLForm756
MediaWiki\HTMLForm\Field\HTMLTextAreaField650
MediaWiki\HTMLForm\Field\HTMLTagMultiselectField600
MediaWiki\HTMLForm\Field\HTMLTitlesMultiselectField600
MediaWiki\HTMLForm\Field\HTMLNamespacesMultiselectField552
MediaWiki\HTMLForm\Field\HTMLCheckMatrix481
MediaWiki\HTMLForm\Field\HTMLInfoField380
MediaWiki\HTMLForm\Field\HTMLFileField342
MediaWiki\HTMLForm\Field\HTMLTimezoneField306
MediaWiki\HTMLForm\Field\HTMLSelectField240
MediaWiki\HTMLForm\Field\HTMLCheckField212
MediaWiki\HTMLForm\Field\HTMLRadioField179
MediaWiki\HTMLForm\Field\HTMLHiddenField156
MediaWiki\HTMLForm\Field\HTMLTagFilter132
MediaWiki\HTMLForm\Field\HTMLFormFieldWithButton132
MediaWiki\HTMLForm\Field\HTMLSizeFilterField110
MediaWiki\HTMLForm\Field\HTMLAutoCompleteSelectField108
MediaWiki\HTMLForm\Field\HTMLFloatField90
MediaWiki\HTMLForm\Field\HTMLExpiryField90
MediaWiki\HTMLForm\Field\HTMLComboboxField56
MediaWiki\HTMLForm\Field\HTMLEditTools56
MediaWiki\HTMLForm\Field\HTMLUserTextField43
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%
getOneCheckbox0%
validate0%
loadDataFromRequest0%
needsLabel0%
filterDataForSubmit0%
getDefault0%
loadDataFromRequest0%
getInputOOUI0%
getOptionsOOUI0%
formatOptions0%
getInputOOUI0%
getInputHTML0%
validate0%
__construct0%
validate0%
needsLabel0%
getCodex0%
getOOUI0%
getRaw0%
getDiv0%
getInputHTML0%
shouldInfuseOOUI0%
getInputOOUI0%
getInputOOUI0%
getInputHTML0%
validate0%
validate0%
getSize0%
loadDataFromRequest0%
getDefault0%
getInputCodex0%
getInputWidget0%
getOOUIModules0%
getOOUIModules0%
getInputHTML0%
__construct0%
getInputHTML0%
needsLabel0%
formatOptions0%
getInputOOUI0%
getInputHTML0%
validate0%
getInputCodex0%
getTableRow0%
getInputHTML0%
getInputCodex0%
__construct0%
needsLabel0%
extractFieldData0%
getFieldPath0%
findNearestField0%
parseFieldPath0%
rekeyValuesArray0%
createFieldsForKey0%
getFieldsForKey0%
getInputWidget0%
getDefault0%
validate0%
getSize0%
shouldInfuseOOUI0%
getInputWidget0%
getInputOOUI0%
getInputHTML0%
loadDataFromRequest0%
__construct0%
getHTML0%
loadDataFromRequest0%
cancelSubmit0%
getDefault0%
__construct0%
__construct0%
hasVisibleOutput0%
canDisplayErrors0%
getInputHTML0%
getCodex0%
getRaw0%
getDiv0%
getTableRow0%
getHiddenFieldData0%
getElement0%
validate0%
getInputOOUI0%
getInputHTML0%
__construct0%
getInputOOUI0%
getInputOOUIForKey0%
getInputHTML0%
getCreateButtonHtml0%
getDeleteButtonHtml0%
getInputHTMLForKey0%
getInputOOUI0%
shouldInfuseOOUI0%
getInputCodex0%
__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%
loadDataFromRequest0%
getFieldByType0%
getInputOOUI0%
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%
getOOUIModules0%
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%
needsLabel0%
getDefault0%
loadDataFromRequest0%
getTableRow0%
getOneCheckboxHTML0%
getInputOOUI0%
getInputHTML0%
loadDataFromRequest0%
getDefault0%
getLabelAlignOOUI0%
shouldInfuseOOUI0%
getLabel0%
getInputOOUI0%
getInputHTML0%
validate0%
needsLabel0%
getInputOOUI0%
validate0%
loadDataFromRequest0%
hasVisibleOutput0%
getOOUIModules0%
getAttributes0%
getRaw0%
shouldInfuseOOUI0%
shouldInfuseOOUI0%
getInputHTML0%
__construct0%
formatMsg0%
getRaw0%
getDiv0%
getTableRow0%
getInputHTML0%
getOOUIModules0%
getInputHTML0%
getInputOOUI0%
formatDate0%
parseDate0%
validate0%
loadDataFromRequest0%
getAttributes0%
__construct0%
shouldInfuseOOUI0%
getInputOOUI0%
getInputHTML0%
initializeHTMLFormElement0%
getDiv0%
loadInputFromParameters0%
getHeaderHtml0%
formatSection0%
formatField0%
wrapFieldSetSection0%
getButtons0%
getTableRow0%
__construct0%
lookupOptionsKeys0%
__construct0%
getJavaScriptClassName0%
__construct0%
getOptionsOOUI0%
needsJSForHtml5FormValidation0%
getMessage0%
formatFormHeader0%
getErrorsOrWarnings0%
formatErrors0%
getBody0%
wrapForm0%
getFormAttributes0%
formatField0%
getHTML0%
wrapForm0%
loadInputFromParameters0%
formatSection12%
displaySection20%
addFields26%
getButtons30%
getErrorsRaw33%
getOptionDescriptions33%
getTooltipAndAccessKeyOOUI33%
trySubmit35%
getHelpText37%
loadFieldData37%
getOptions42%
needsJSForHtml5FormValidation50%
getHelpMessages55%
parseCondState62%
getOOUI62%
__construct66%
filter66%
msg66%
getAction66%
__construct66%
__construct68%
getHiddenFields68%
getInputHTML72%
wrapForm75%
__construct76%
validate76%
getFormAttributes77%
getErrorsOrWarnings78%
isValidIPRange80%
flattenOptions83%
prepareForm83%
tryAuthorizedSubmit87%
validate87%
getInputHTML88%
getAttributes88%

Project Risks

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