Percentage | Lines | ||
---|---|---|---|
ParserManager |
|
94 % | 143 |
Iframe |
|
95 % | 156 |
EmbedVideoServiceProvider |
|
100 % | 59 |
TwitchParser |
|
100 % | 62 |
VimeoParser |
|
100 % | 59 |
YoutubeParser |
|
100 % | 76 |
AbstractParser |
|
100 % | 333 |
CRAP Score | Lines | ||
---|---|---|---|
AbstractParser::parseProtocol() | 5 | 12 | |
Iframe::renderQueries() | 5 | 20 | |
AbstractParser::parseTimestamp() | 4 | 14 | |
Iframe::renderAttributes() | 4 | 10 | |
ParserManager::guess() | 4 | 11 | |
AbstractParser::parse() | 4 | 17 | |
ParserManager::getDefaultDriver() | 2 | 4 | |
Iframe::__toString() | 2 | 4 | |
AbstractParser::hasTimestampOption() | 2 | 5 | |
ParserManager::registerParsers() | 2 | 6 | |