Total Complexity | 63 |
Dependencies | 6 |
Dependents | 10 |
Total lines | 327 |
Lines of code | 210 |
Logical lines of code | 122 |
Comment lines | 42 |
Methods | 15 |
Properties | 0 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_gift_card() | 50 | 12 | 26 | |
invoke() | 41 | 10 | 55 | |
get_gift_card_balance() | 57 | 8 | 16 | |
get_gift_card_has_expired() | 60 | 5 | 14 | |
get_is_currency_backed() | 59 | 5 | 14 | |
redeem_gift_card() | 55 | 4 | 18 | |
add_credit_to_gift_card() | 58 | 3 | 15 | |
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 |