| Percentage | Lines | ||
|---|---|---|---|
| SocialException |
|
0 % | 10 |
| ConfigRequiredException |
|
0 % | 11 |
| FacebookAdapter |
|
18 % | 90 |
| ApplyConfig |
|
86 % | 18 |
| SocialFactory |
|
89 % | 27 |
| Post |
|
100 % | 96 |
| Attachment |
|
100 % | 80 |
| MultiSocial |
|
100 % | 69 |
| CRAP Score | Lines | ||
|---|---|---|---|
| FacebookAdapter::post() | 30 | 26 | |
| FacebookAdapter::upload_attachments() | 20 | 20 | |
| ApplyConfig::apply_config() | 5 | 10 | |
| FacebookAdapter::__construct() | 2 | 11 | |
| SocialFactory::create() | 2 | 6 | |
| SocialException::__construct() | 2 | 3 | |
| ConfigRequiredException::__construct() | 2 | 3 | |
| MultiSocial::getAdapter() | 2 | 3 | |
| MultiSocial::__construct() | 2 | 7 | |
| MultiSocial::post() | 2 | 6 | |