| Class | Coverage |
|---|---|
| Automattic\Jetpack\Protect\Sections\Scan | 13% |
| Automattic\Jetpack\Protect\Sections\History | 14% |
| Class | Coverage | Complexity | CRAP |
|---|---|---|---|
| Automattic\Jetpack\Protect\Sections\Scan | 13.5% | 58 | 2235 |
| Automattic\Jetpack\Protect\Sections\History | 14.3% | 5 | 20 |
| Method | Coverage |
|---|---|
| get_key | 0% |
| get_state | 0% |
| register_routes | 0% |
| get_key | 0% |
| get_state | 0% |
| register_routes | 0% |
| ignore_threat | 0% |
| unignore_threat | 0% |
| set_ignored | 0% |
| fix_threat | 0% |
| get_fix_status | 0% |
| alerts_request | 0% |
| get_scan | 0% |
| start_scan | 0% |
| get_scan_report | 0% |
| get_history_threats | 15% |
| can_act_on_threats | 40% |
| get_history | 66% |
| release_request_lock | 66% |
| claim_request_lock | 83% |
| Method | Coverage | Complexity | CRAP |
|---|---|---|---|
| get_scan_report | 0.0% | 9 | 90 |
| alerts_request | 0.0% | 6 | 42 |
| start_scan | 0.0% | 6 | 42 |
| get_history_threats | 15.0% | 7 | 37 |
| set_ignored | 0.0% | 4 | 20 |
| get_fix_status | 0.0% | 4 | 20 |
| fix_threat | 0.0% | 3 | 12 |
| get_state | 0.0% | 2 | 6 |
| can_act_on_threats | 40.0% | 3 | 4 |
| claim_request_lock | 83.3% | 3 | 3 |
| get_history | 66.7% | 2 | 2 |
| release_request_lock | 66.7% | 2 | 2 |