Total Complexity | 77 |
Dependencies | 7 |
Dependents | 11 |
Total lines | 363 |
Lines of code | 241 |
Logical lines of code | 141 |
Comment lines | 42 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
invoke() | 37 | 17 | 73 | |
get_gift_card() | 50 | 12 | 26 | |
get_gift_card_balance() | 58 | 8 | 16 | |
redeem_gift_card() | 52 | 7 | 23 | |
add_credit_to_gift_card() | 52 | 6 | 23 | |
get_gift_card_is_valid() | 59 | 6 | 14 | |
get_is_currency_backed() | 59 | 5 | 14 | |
different_roots_enabled() | 70 | 3 | 6 | |
get_gift_cards() | 68 | 2 | 7 | |
get_company() | 68 | 2 | 7 | |
get_woocommerce_connection_status() | 69 | 2 | 7 | |
notify_connect_woocommerce() | 65 | 2 | 9 | |
api_root() | 71 | 2 | 6 | |
dashboard_root() | 71 | 2 | 6 | |
notify_disconnect_woocommerce() | 75 | 1 | 4 |