Percentage | Lines | ||
---|---|---|---|
Database |
|
43 % | 50 |
CommentHandler |
|
100 % | 88 |
Comments |
|
100 % | 113 |
CRAP Score | Lines | ||
---|---|---|---|
Database::__construct() | 6 | 12 | |
Database::query() | 2 | 11 | |
Comments::new() | 2 | 8 | |
Comments::update() | 2 | 11 | |
Comments::render() | 2 | 16 | |
CommentHandler::__construct() | 1 | 5 | |
CommentHandler::new() | 1 | 5 | |
CommentHandler::fetch() | 1 | 5 | |
CommentHandler::deleteComments() | 1 | 5 | |
Comments::__construct() | 1 | 5 | |