| Percentage | Lines | ||
|---|---|---|---|
| IntegerValue |
|
100 % | 52 |
| FloatValue |
|
100 % | 52 |
| AbstractValue |
|
100 % | 17 |
| NullValue |
|
100 % | 24 |
| DsnValue |
|
100 % | 164 |
| StringValue |
|
100 % | 72 |
| EmailValue |
|
100 % | 39 |
| InvalidValueException |
|
100 % | 5 |
| CRAP Score | Lines | ||
|---|---|---|---|
| DsnValue::getSanitizedValue() | 4 | 10 | |
| DsnValue::create() | 4 | 17 | |
| StringValue::create() | 4 | 17 | |
| EmailValue::create() | 4 | 21 | |
| IntegerValue::create() | 3 | 9 | |
| FloatValue::create() | 3 | 9 | |
| DsnValue::__construct() | 3 | 32 | |
| DsnValue::getAuthorisationBasicToken() | 3 | 7 | |
| IntegerValue::__construct() | 2 | 6 | |
| StringValue::__construct() | 2 | 6 | |