| Class | Coverage |
|---|---|
| Automattic\Jetpack\Stats\Transient_Cleanup | 75% |
| Automattic\Jetpack\Stats\WPCOM_Stats | 75% |
| Class | Coverage | Complexity | CRAP |
|---|---|---|---|
| Automattic\Jetpack\Stats\WPCOM_Stats | 75.3% | 66 | 131 |
| Automattic\Jetpack\Stats\Transient_Cleanup | 75.0% | 21 | 27 |
| Method | Coverage | Complexity | CRAP |
|---|---|---|---|
| fetch_post_stats | 0.0% | 8 | 72 |
| should_track | 81.5% | 15 | 16 |
| convert_stats_array_to_object | 0.0% | 3 | 12 |
| extract_post_views_series | 87.5% | 11 | 11 |
| purge_expired_transients | 45.2% | 5 | 9 |
| add_amp_consent_sanitizer | 0.0% | 2 | 6 |
| upgrade_options | 77.8% | 5 | 5 |
| clamp_int | 62.5% | 4 | 4 |
| template_redirect | 83.3% | 3 | 3 |
| get_top_posts | 75.0% | 2 | 2 |
| get_post_views | 75.0% | 2 | 2 |