Percentage | Lines | ||
---|---|---|---|
SoteriaFactory |
|
0 % | 29 |
Url |
|
0 % | 36 |
Filters |
|
16 % | 128 |
Sanitise |
|
29 % | 225 |
SoteriaService |
|
50 % | 29 |
Xss |
|
55 % | 375 |
Strings |
|
66 % | 93 |
SoteriaModel |
|
69 % | 47 |
FilterModel |
|
100 % | 34 |
CRAP Score | Lines | ||
---|---|---|---|
Sanitise::decodeHtmlEntity() | 42 | 34 | |
Xss::_entity_decode() | 35 | 100 | |
Sanitise::disinfect() | 23 | 62 | |
Sanitise::cleanse() | 20 | 21 | |
Sanitise::removeUrl() | 20 | 24 | |
SoteriaFactory::build() | 12 | 16 | |
SoteriaService::sanitise() | 12 | 7 | |
Xss::_do() | 6 | 66 | |
Xss::cleanUrl() | 6 | 25 | |
Xss::result() | 6 | 8 | |