Percentage | Lines | ||
---|---|---|---|
FormRequest |
|
91 % | 36 |
Rules |
|
100 % | 134 |
Factory |
|
100 % | 105 |
EmailFilter |
|
100 % | 21 |
FormatDateFilter |
|
100 % | 46 |
Sanitizer |
|
100 % | 186 |
CapitalizeFilter |
|
100 % | 19 |
EscapeFilter |
|
100 % | 19 |
LowercaseFilter |
|
100 % | 19 |
SlugFilter |
|
100 % | 19 |
CRAP Score | Lines | ||
---|---|---|---|
Factory::isFilterable() | 4 | 14 | |
Rules::parseRules() | 3 | 16 | |
Rules::parseAttributeFilters() | 3 | 10 | |
Rules::parseRule() | 3 | 12 | |
FormatDateFilter::filter() | 3 | 11 | |
UrlFilter::filter() | 3 | 12 | |
Sanitizer::applyFilter() | 3 | 17 | |
Factory::checkName() | 3 | 8 | |
Rules::get() | 2 | 4 | |
CapitalizeFilter::filter() | 2 | 4 | |