| Class | Coverage | Complexity | CRAP |
|---|---|---|---|
| Automattic\Jetpack\Protect\Sections\Scan | 68.5% | 90 | 343 |
| Automattic\Jetpack\Protect\Sections\Firewall | 62.2% | 64 | 285 |
| Automattic\Jetpack\Protect\Sections\History | 14.3% | 5 | 20 |
| Method | Coverage |
|---|---|
| get_key | 0% |
| get_state | 0% |
| register_routes | 0% |
| start_test | 0% |
| get_ip_rules | 0% |
| get_key | 0% |
| get_state | 0% |
| register_routes | 0% |
| get_key | 0% |
| register_routes | 0% |
| get_key | 0% |
| get_key | 0% |
| ignore_threat | 0% |
| fix_threat | 0% |
| get_fix_status | 0% |
| get_scan | 0% |
| start_scan | 0% |
| get_history_threats | 15% |
| alerts_request | 21% |
| get_scan_report | 39% |
| set_ignored | 50% |
| get_history | 66% |
| release_request_lock | 66% |
| can_ignore_threats | 75% |
| can_act_on_threats | 80% |
| read_request_log | 81% |
| claim_request_lock | 83% |
| get_recent_blocks | 85% |
| Method | Coverage | Complexity | CRAP |
|---|---|---|---|
| get_history_threats | 15.0% | 7 | 37 |
| start_scan | 0.0% | 5 | 30 |
| get_scan_report | 39.1% | 9 | 27 |
| alerts_request | 21.4% | 6 | 23 |
| get_fix_status | 0.0% | 4 | 20 |
| start_test | 0.0% | 3 | 12 |
| fix_threat | 0.0% | 3 | 12 |
| read_request_log | 81.5% | 10 | 10 |
| get_ip_rules | 0.0% | 2 | 6 |
| set_ignored | 50.0% | 4 | 6 |
| get_recent_blocks | 85.7% | 4 | 4 |
| can_ignore_threats | 75.0% | 3 | 3 |
| can_act_on_threats | 80.0% | 3 | 3 |
| claim_request_lock | 83.3% | 3 | 3 |
| get_history | 66.7% | 2 | 2 |
| release_request_lock | 66.7% | 2 | 2 |