Percentage | Lines | ||
---|---|---|---|
Helper |
|
0 % | 15 |
Field |
|
76 % | 211 |
FieldCollection |
|
95 % | 177 |
FieldFactory |
|
100 % | 32 |
CRAP Score | Lines | ||
---|---|---|---|
Helper::__construct() | 6 | 4 | |
FieldCollection::fill() | 3 | 9 | |
FieldCollection::errors() | 3 | 9 | |
Field::__get() | 2 | 8 | |
FieldCollection::__construct() | 2 | 5 | |
FieldCollection::add() | 2 | 8 | |
FieldCollection::get() | 2 | 7 | |
FieldCollection::jsonSerialize() | 2 | 4 | |
Field::attribs() | 2 | 9 | |
Field::jsonSerialize() | 2 | 4 | |