| Total Complexity | 80 |
| Dependencies | 18 |
| Dependents | 0 |
| Total lines | 630 |
| Lines of code | 376 |
| Logical lines of code | 268 |
| Comment lines | 102 |
| Methods | 15 |
| Properties | 0 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| cko_create_order_request() | 39 | 13 | 56 | |
| handle_wc_api() | 44 | 12 | 45 | |
| payment_scripts() | 41 | 11 | 51 | |
| request_payment() | 42 | 8 | 49 | |
| cko_express_add_to_cart() | 48 | 9 | 28 | |
| process_payment() | 48 | 5 | 32 | |
| cko_cc_capture() | 50 | 4 | 27 | |
| process_refund() | 53 | 4 | 22 | |
| cko_express_create_order() | 65 | 5 | 9 | |
| __construct() | 51 | 2 | 25 | |
| add_attributes_to_script() | 70 | 2 | 6 | |
| payment_fields() | 73 | 2 | 5 | |
| init_form_fields() | 62 | 1 | 13 | |
| cko_express_paypal_order_session() | 73 | 1 | 5 | |
| generate_screen_button_html() | 80 | 1 | 3 |