Percentage | Lines | ||
---|---|---|---|
Disqus |
|
100 % | 266 |
DisqusMiddleware |
|
100 % | 80 |
LaravelDisqusServiceProvider |
|
100 % | 85 |
CRAP Score | Lines | ||
---|---|---|---|
Disqus::render() | 2 | 6 | |
LaravelDisqusServiceProvider::registerMiddleware() | 2 | 6 | |
DisqusMiddleware::handle() | 2 | 7 | |
DisqusMiddleware::getPageId() | 2 | 6 | |
Disqus::script() | 2 | 8 | |
Disqus::__construct() | 1 | 5 | |
Disqus::username() | 1 | 4 | |
Disqus::setUsername() | 1 | 6 | |
Disqus::pageUrl() | 1 | 4 | |
Disqus::setPageUrl() | 1 | 6 | |