Percentage | Lines | ||
---|---|---|---|
MultiSelect |
|
92 % | 34 |
DataContainer |
|
95 % | 34 |
Select |
|
97 % | 91 |
Factory |
|
97 % | 77 |
HasChildrenTrait |
|
97 % | 227 |
InputFilter |
|
98 % | 377 |
File |
|
100 % | 48 |
AttributesContainer |
|
100 % | 36 |
HasUploadTrait |
|
100 % | 76 |
Button |
|
100 % | 22 |
CRAP Score | Lines | ||
---|---|---|---|
InputFilter::prepare() | 10 | 42 | |
HasChildrenTrait::childComparator() | 7 | 22 | |
DataContainer::set() | 7 | 18 | |
Factory::createFromOptions() | 6 | 26 | |
File::prepareUploadHandlers() | 6 | 28 | |
InputFilter::prepareFiltration() | 6 | 14 | |
HasFiltersTrait::prepareFiltrator() | 6 | 16 | |
Factory::registerElementType() | 5 | 22 | |
InputFilter::processUploads() | 5 | 23 | |
HasValidationRulesTrait::prepareValidator() | 5 | 17 | |