Percentage | Lines | ||
---|---|---|---|
InvalidWidgetConfigurationException |
|
100 % | 12 |
WidgetManager |
|
100 % | 80 |
InvalidWidgetException |
|
100 % | 10 |
WidgetNotFoundException |
|
100 % | 7 |
Code |
|
100 % | 147 |
Disqus |
|
100 % | 94 |
BaseWidget |
|
100 % | 18 |
CommentsCountWidget |
|
100 % | 66 |
ThreadWidget |
|
100 % | 18 |
CRAP Score | Lines | ||
---|---|---|---|
WidgetManager::registerWidget() | 4 | 10 | |
Code::buildConfigVariablesHtml() | 4 | 22 | |
Disqus::__call() | 4 | 14 | |
CommentsCountWidget::render() | 4 | 22 | |
WidgetManager::get() | 3 | 16 | |
WidgetManager::createWidget() | 3 | 14 | |
Code::buildJsFilesHtml() | 3 | 11 | |
WidgetManager::create() | 2 | 10 | |
BaseWidget::htmlAttribsToString() | 2 | 15 | |
Code::addScriptFile() | 2 | 14 | |