| Percentage | Lines | ||
|---|---|---|---|
| ServerPush |
|
100 % | 58 |
| Builder |
|
100 % | 195 |
| Response |
|
100 % | 20 |
| Http2Push |
|
100 % | 53 |
| CRAP Score | Lines | ||
|---|---|---|---|
| ServerPush::handle() | 4 | 12 | |
| Builder::prepare() | 3 | 30 | |
| Builder::pushable() | 3 | 14 | |
| Builder::hash() | 3 | 17 | |
| Response::pushes() | 2 | 10 | |
| Builder::link() | 2 | 11 | |
| ServerPush::__construct() | 1 | 3 | |
| ServerPush::retrieveLinkableElements() | 1 | 11 | |
| Builder::__construct() | 1 | 4 | |
| Builder::transform() | 1 | 10 | |