Classes

Coverage Distribution

Complexity

Insufficient Coverage

Class Coverage
oat\tao\helpers\form\AbstractFeatureFlagFormPropertyMapper0%
oat\tao\helpers\form\ElementMapFactory0%
oat\tao\helpers\form\ServiceProvider\FormServiceProvider0%
oat\tao\helpers\form\ValidationRuleRegistry0%
tao_helpers_form_GenerisTreeForm0%
tao_helpers_form_data_FileDescription0%
tao_helpers_form_data_StoredFileDescription0%
tao_helpers_form_data_UploadFileDescription0%
oat\tao\helpers\form\elements\AbstractSearchElement0%
oat\tao\helpers\form\elements\Model0%
oat\tao\helpers\form\elements\Validators0%
tao_helpers_form_elements_Checkbox0%
tao_helpers_form_elements_GenerisAsyncFile0%
tao_helpers_form_elements_Password0%
tao_helpers_form_elements_Template0%
tao_helpers_form_elements_Treebox0%
tao_helpers_form_elements_Treeview0%
tao_helpers_form_elements_template_Template0%
oat\tao\helpers\form\elements\xhtml\AbstractXhtmlSearchElement0%
oat\tao\helpers\form\elements\xhtml\Model0%
oat\tao\helpers\form\elements\xhtml\SearchDropdown0%
oat\tao\helpers\form\elements\xhtml\SearchTextBox0%
oat\tao\helpers\form\elements\xhtml\Validators0%
tao_helpers_form_elements_xhtml_AsyncFile0%
tao_helpers_form_elements_xhtml_Authoring0%
tao_helpers_form_elements_xhtml_Calendar0%
tao_helpers_form_elements_xhtml_Checkbox0%
tao_helpers_form_elements_xhtml_Combobox0%
tao_helpers_form_elements_xhtml_Date0%
tao_helpers_form_elements_xhtml_File0%
tao_helpers_form_elements_xhtml_Free0%
tao_helpers_form_elements_xhtml_GenerisAsyncFile0%
tao_helpers_form_elements_xhtml_Hiddenbox0%
tao_helpers_form_elements_xhtml_Htmlarea0%
tao_helpers_form_elements_xhtml_JsonObject0%
tao_helpers_form_elements_xhtml_Label0%
tao_helpers_form_elements_xhtml_Password0%
tao_helpers_form_elements_xhtml_Radiobox0%
tao_helpers_form_elements_xhtml_Readonly0%
tao_helpers_form_elements_xhtml_ReadonlyLiteral0%
tao_helpers_form_elements_xhtml_Submit0%
tao_helpers_form_elements_xhtml_Textarea0%
tao_helpers_form_elements_xhtml_Treebox0%
tao_helpers_form_elements_xhtml_Treeview0%
tao_helpers_form_elements_xhtml_Versionedfile0%
tao_helpers_form_elements_xhtml_Viewablehiddenbox0%
oat\tao\helpers\form\validators\CspHeaderValidator0%
oat\tao\helpers\form\validators\XsrfTokenValidator0%
tao_helpers_form_validators_AlphaNum0%
tao_helpers_form_validators_Callback0%
tao_helpers_form_validators_DateTime0%
tao_helpers_form_validators_Email0%
tao_helpers_form_validators_Equals0%
tao_helpers_form_validators_FileName0%
tao_helpers_form_validators_IndexIdentifier0%
tao_helpers_form_validators_Length0%
tao_helpers_form_validators_NotEmpty0%
tao_helpers_form_validators_Password0%
tao_helpers_form_validators_PasswordStrength0%
tao_helpers_form_validators_Regex0%
tao_helpers_form_validators_Unique0%
tao_helpers_form_validators_Url0%
tao_helpers_form_xhtml_HtmlWrapper0%
tao_helpers_form_validators_FileMimeType8%
oat\tao\helpers\form\WidgetRegistry12%
oat\tao\helpers\form\elements\xhtml\CsrfToken14%
tao_helpers_form_validators_Numeric22%
tao_helpers_form_validators_FileSize27%
tao_helpers_form_FormElement29%
tao_helpers_form_Form33%
oat\tao\helpers\form\validators\ResourceSignatureValidator40%
tao_helpers_form_GenerisFormFactory40%
oat\tao\helpers\form\elements\xhtml\XhtmlRenderingTrait44%
tao_helpers_form_Validator50%
tao_helpers_form_FormContainer51%
tao_helpers_form_xhtml_Form53%
tao_helpers_form_elements_MultipleElement58%
oat\tao\helpers\form\elements\ElementValue60%
tao_helpers_form_xhtml_TagWrapper67%
oat\tao\helpers\form\Factory\ElementFactoryContext70%
tao_helpers_form_FormFactory70%
oat\tao\helpers\form\Factory\ElementPropertyTypeFactory71%
oat\tao\helpers\form\Specification\DependencyPropertyWidgetSpecification76%
tao_helpers_form_elements_xhtml_Textbox81%

Project Risks

Class CRAP
tao_helpers_form_Form4481
tao_helpers_form_FormElement1458
tao_helpers_form_elements_xhtml_GenerisAsyncFile1122
oat\tao\helpers\form\ElementMapFactory702
tao_helpers_form_validators_DateTime506
tao_helpers_form_validators_Numeric428
tao_helpers_form_GenerisFormFactory419
tao_helpers_form_elements_xhtml_Treeview380
oat\tao\helpers\form\validators\CspHeaderValidator380
tao_helpers_form_validators_Length306
tao_helpers_form_elements_xhtml_AsyncFile240
tao_helpers_form_elements_xhtml_Checkbox240
tao_helpers_form_validators_Callback240
tao_helpers_form_FormContainer216
tao_helpers_form_GenerisTreeForm156
tao_helpers_form_data_FileDescription156
tao_helpers_form_elements_xhtml_Treebox156
oat\tao\helpers\form\WidgetRegistry144
tao_helpers_form_elements_Template110
tao_helpers_form_elements_xhtml_Calendar110
tao_helpers_form_validators_Unique110
oat\tao\helpers\form\elements\xhtml\AbstractXhtmlSearchElement90
tao_helpers_form_elements_xhtml_Label90
tao_helpers_form_validators_Password90
tao_helpers_form_validators_Url90
oat\tao\helpers\form\elements\AbstractSearchElement72
tao_helpers_form_elements_template_Template72
tao_helpers_form_elements_xhtml_File72
tao_helpers_form_validators_Equals72
tao_helpers_form_validators_Regex72
tao_helpers_form_validators_FileMimeType71
tao_helpers_form_xhtml_Form61
tao_helpers_form_elements_xhtml_Password56
oat\tao\helpers\form\Factory\ElementPropertyTypeFactory42
tao_helpers_form_data_UploadFileDescription42
oat\tao\helpers\form\elements\Validators42
tao_helpers_form_elements_xhtml_Combobox42
tao_helpers_form_validators_FileSize39
oat\tao\helpers\form\elements\xhtml\CsrfToken37
oat\tao\helpers\form\AbstractFeatureFlagFormPropertyMapper30
oat\tao\helpers\form\ValidationRuleRegistry30
oat\tao\helpers\form\elements\Model30
oat\tao\helpers\form\elements\xhtml\Validators30
tao_helpers_form_validators_NotEmpty30
tao_helpers_form_FormFactory26
tao_helpers_form_xhtml_TagWrapper20
tao_helpers_form_elements_Treeview20
tao_helpers_form_elements_xhtml_Htmlarea20
tao_helpers_form_elements_xhtml_JsonObject20
tao_helpers_form_validators_IndexIdentifier20
tao_helpers_form_elements_MultipleElement19
tao_helpers_form_elements_GenerisAsyncFile12
oat\tao\helpers\form\elements\xhtml\Model12
tao_helpers_form_elements_xhtml_Authoring12
tao_helpers_form_elements_xhtml_Date12
tao_helpers_form_elements_xhtml_Radiobox12
tao_helpers_form_elements_xhtml_Submit12
tao_helpers_form_elements_xhtml_Versionedfile12
oat\tao\helpers\form\validators\XsrfTokenValidator12
tao_helpers_form_validators_PasswordStrength12
oat\tao\helpers\form\Factory\ElementFactoryContext11
oat\tao\helpers\form\Specification\DependencyPropertyWidgetSpecification7
oat\tao\helpers\form\elements\xhtml\XhtmlRenderingTrait6
tao_helpers_form_validators_AlphaNum6
tao_helpers_form_elements_xhtml_Textbox3

Methods

Coverage Distribution

Complexity

Insufficient Coverage

Method Coverage
getExcludedProperties0%
getFeatureFlagChecker0%
withInstance0%
create0%
isBlockedForModification0%
getParentProperty0%
getFeatureFlagChecker0%
getContainer0%
getFormDataProvider0%
isSecondaryProperty0%
__invoke0%
getExtension0%
getConfigId0%
getValidators0%
getWidgetDefinition0%
getWidgetsFromOntology0%
setName0%
setOptions0%
hasElement0%
getElement0%
setElements0%
removeElement0%
getAction0%
isSubmited0%
setValues0%
setElementValue0%
setValue0%
getValue0%
getGroups0%
setGroups0%
createGroup0%
addToGroup0%
removeGroup0%
addSanitizerValidator0%
getPostData0%
propagateElement0%
configureFormValidators0%
setName0%
removeClass0%
setAttributes0%
isDisabled0%
getWidget0%
setDescription0%
setUnit0%
getLevel0%
setLevel0%
addValidator0%
addValidators0%
getValidators0%
setForcedValid0%
validate0%
getError0%
getInvalidValues0%
setInvalidValues0%
setHelp0%
removeValidator0%
feed0%
getEvaluatedValue0%
getValue0%
isBreakOnFirstError0%
setBreakOnFirstError0%
getInputValue0%
setRenderMode0%
getElementByWidget0%
elementMap0%
getClassProperties0%
getDefaultProperties0%
getPropertyProperties0%
extractTreeData0%
buildTree0%
buildReverseTree0%
__construct0%
setHiddenNodes0%
setTitle0%
render0%
getSelectedInstancesFromPost0%
getMessage0%
getDefaultMessage0%
__construct0%
getName0%
getSize0%
getFile0%
getFileSerial0%
setFile0%
getServiceLocator0%
__construct0%
__construct0%
getType0%
getTmpPath0%
getAction0%
feed0%
getEvaluatedValue0%
getRawValue0%
addValue0%
getValues0%
getLabel0%
__toString0%
getOptions0%
getOptions0%
getOptionValidatorName0%
setValue0%
getValidationRuleRegistry0%
getRawValue0%
getReadOnly0%
setReadOnly0%
setValue0%
addValue0%
getValues0%
setValues0%
getDisabledValues0%
setDisabledValues0%
__construct0%
setPath0%
setValues0%
getValues0%
getPrefix0%
setPrefix0%
setVariables0%
rangeToTree0%
rangeToTree0%
feed0%
render0%
getEvaluatedValue0%
setValue0%
render0%
createClientCode0%
createBaseClientVariables0%
createInitSelectionValues0%
createHiddenInput0%
validate0%
logCsrfFailure0%
render0%
isMultiValue0%
setValue0%
isMultiValue0%
render0%
renderOptionLabel0%
feed0%
render0%
getEvaluatedValue0%
render0%
render0%
getEvaluatedValue0%
getDateOutput0%
feed0%
render0%
setValue0%
getEvaluatedValue0%
render0%
parseOptionAttributes0%
render0%
feed0%
render0%
getEvaluatedValue0%
getServiceLocator0%
render0%
feed0%
render0%
getEvaluatedValue0%
buildDeleterBehaviour0%
buildUploaderBehaviour0%
buildWidgetName0%
buildDeleteButtonId0%
buildWidgetContainerId0%
embedBehaviour0%
buildDownloadButtonId0%
buildDownloaderBehaviour0%
buildIframeId0%
render0%
render0%
getEvaluatedValue0%
render0%
render0%
feed0%
render0%
getEvaluatedValue0%
render0%
render0%
render0%
render0%
render0%
feed0%
getOptions0%
setValue0%
render0%
getEvaluatedValue0%
feed0%
getOptions0%
setValue0%
render0%
getEvaluatedValue0%
rangeToTree0%
render0%
render0%
getDefaultMessage0%
evaluate0%
getNormalizedDirective0%
isValidDirective0%
isValidDomain0%
getErrorMessage0%
getName0%
getOptions0%
getMessage0%
setMessage0%
setOptions0%
evaluate0%
getServiceManager0%
setOptions0%
setOptions0%
evaluate0%
evaluate0%
getDefaultMessage0%
evaluate0%
setOptions0%
evaluate0%
getDefaultMessage0%
evaluate0%
setOptions0%
evaluate0%
evaluate0%
setOptions0%
evaluate0%
getName0%
evaluate0%
getDefaultMessage0%
evaluate0%
getDefaultMessage0%
evaluate0%
isPreValidationRequired0%
setOptions0%
evaluate0%
getDefaultMessage0%
getDefaultMessage0%
setOptions0%
getProperty0%
evaluate0%
__construct0%
evaluate0%
getDefaultMessage0%
getValues0%
validate0%
preRender0%
postRender0%
getOption0%
setOption0%
__construct0%
getOption0%
setOption0%
preValidate16%
evaluate22%
applyAttributeValidators23%
renderElements26%
applyAdditionalValidationRules37%
renderLabel44%
getWidgetDefinitions50%
getElementGroup50%
setOptions50%
evaluate50%
validateParameter57%
disable57%
setActions57%
getWidgetDefinitionById60%
getPropertyMap66%
getPreviousWidgetUri66%
hasFileUpload66%
getDecodedValue66%
setOptions66%
addElement70%
isWidgetSupported75%
getDescription75%
isSatisfiedBy76%
getElement78%
getSelectedWidgetUri80%
addClass80%
render80%
transformListValuesToUris81%
render81%
__construct82%
getCurrentWidgetUri83%
getValidator83%
renderActions85%
getProperty87%
getListValues87%
getCommonActions88%

Project Risks

Method CRAP
renderElements622
evaluate506
evaluate428
create342
elementMap342
getClassProperties132
render132
buildUploaderBehaviour132
render110
evaluate110
render90
feed90
evaluate90
evaluate90
feed72
evaluate72
setOptions56
evaluate56
getWidgetsFromOntology42
getPropertyProperties42
setOptions42
evaluate42
getValues42
removeElement30
createGroup30
validate30
getSelectedInstancesFromPost30
getOptions30
render30
setOptions30
evaluate30
getProperty30
getExcludedProperties20
getElement20
getAction20
setValues20
setElementValue20
addSanitizerValidator20
getElementByWidget20
extractTreeData20
rangeToTree20
render20
validate20
render20
render20
getEvaluatedValue20
render20
render20
render20
getOptions20
getOptions20
evaluate20
preValidate19
validateParameter13
getValidators12
hasElement12
getValue12
addToGroup12
removeGroup12
propagateElement12
configureFormValidators12
removeValidator12
getName12
getSize12
__construct12
feed12
setValue12
getPrefix12
feed12
render12
feed12
render12
feed12
render12
render12
feed12
render12
render12
render12
feed12
render12
getErrorMessage12
evaluate12
evaluate12
evaluate12
setOptions12
evaluate12
evaluate12
validate12
getOption12
applyAttributeValidators11
__construct10
isSatisfiedBy7
getElement7
renderActions7
disable6
renderLabel6
isBlockedForModification6
getParentProperty6
getWidgetDefinition6
setValue6
removeClass6
isDisabled6
getWidget6
addValidator6
addValidators6
feed6
buildReverseTree6
getMessage6
getFile6
addValue6
getOptions6
getOptionValidatorName6
setValues6
setVariables6
render6
createClientCode6
createInitSelectionValues6
logCsrfFailure6
getDateOutput6
parseOptionAttributes6
feed6
render6
getEvaluatedValue6
getEvaluatedValue6
rangeToTree6
getNormalizedDirective6
isValidDirective6
isValidDomain6
evaluate6
setOptions6
setOptions6
setOption6
addElement5
applyAdditionalValidationRules5
render5
transformListValuesToUris5
getDecodedValue4
isWidgetSupported4
getWidgetDefinitions4
getElementGroup4
evaluate4
getListValues4
setActions3
getWidgetDefinitionById3
hasFileUpload3
render3
getCurrentWidgetUri3
getProperty3
getPropertyMap2
getPreviousWidgetUri2
setOptions2
getDescription2
getSelectedWidgetUri2
addClass2
getValidator2
getCommonActions2