| Class | Coverage | Complexity | CRAP |
|---|---|---|---|
| Automattic\Jetpack\PaypalPayments\PayPal_OAuth | 65.4% | 81 | 352 |
| Automattic\Jetpack\PaypalPayments\PayPal_Attribute_Mapper | 85.5% | 156 | 229 |
| Automattic\Jetpack\PaypalPayments\PayPal_Admin_Page | 86.1% | 94 | 117 |
| Automattic\Jetpack\PaypalPayments\PayPal_Email_Sender | 78.3% | 40 | 56 |
| Automattic\Jetpack\PaypalPayments\PayPal_Payment_Links_List_Table | 88.8% | 47 | 50 |
| Automattic\Jetpack\PaypalPayments\PayPal_Tracks | 81.2% | 9 | 9 |
| Method | Coverage | Complexity | CRAP |
|---|---|---|---|
| attributes_to_api_request | 45.6% | 22 | 99 |
| request_access_token | 10.0% | 10 | 82 |
| render_detail_view | 86.7% | 44 | 48 |
| handle_send | 67.9% | 24 | 43 |
| api_response_to_attributes | 85.5% | 37 | 41 |
| make_request_with_retry | 63.6% | 16 | 28 |
| get_user_friendly_message | 76.7% | 13 | 15 |
| sanitize_variants | 85.3% | 14 | 14 |
| render_page | 82.4% | 12 | 12 |
| request_access_token_with_lock | 50.0% | 6 | 10 |
| get_encryption_key | 33.3% | 4 | 8 |
| connect_with_credentials | 82.0% | 8 | 8 |
| get_access_token | 66.7% | 6 | 7 |
| sanitize_css_color | 84.6% | 7 | 7 |
| get_parent_menu_slug | 0.0% | 2 | 6 |
| render_detail_row_html | 0.0% | 2 | 6 |
| is_valid_price | 88.9% | 6 | 6 |
| get_sdk_base_url | 0.0% | 2 | 6 |
| validate_credentials | 0.0% | 2 | 6 |
| column_default | 0.0% | 2 | 6 |
| no_items | 0.0% | 2 | 6 |
| record_event | 75.0% | 6 | 6 |
| decrypt | 75.0% | 5 | 5 |
| store_credentials | 88.9% | 5 | 5 |
| init_jetpack_sharing | 83.3% | 5 | 5 |
| extract_field_errors | 71.4% | 4 | 4 |
| get_variant_currency | 80.0% | 4 | 4 |
| render_sdk_host | 88.2% | 4 | 4 |
| log_send | 81.8% | 3 | 3 |
| get_log_for_resource | 88.9% | 3 | 3 |
| column_created | 87.5% | 3 | 3 |
| render_detail_row | 85.7% | 2 | 2 |
| mask_email | 85.7% | 2 | 2 |
| encrypt | 83.3% | 2 | 2 |
| add_editor_feature_flags | 80.0% | 2 | 2 |
| render_onboarding_return | 80.0% | 2 | 2 |