| Total Complexity | 54 |
| Dependencies | 2 |
| Dependents | 8 |
| Total lines | 306 |
| Lines of code | 194 |
| Logical lines of code | 125 |
| Comment lines | 10 |
| Methods | 11 |
| Properties | 1 |
| Method | Rating | Maintainability | Complexity | Lines of code |
|---|---|---|---|---|
| createCard() | 41 | 16 | 52 | |
| wooposgc_get_payment_amount() | 42 | 15 | 55 | |
| reload_card() | 45 | 11 | 37 | |
| wooposgc_decrease_balance() | 61 | 3 | 13 | |
| wooposgc_is_giftcard() | 66 | 3 | 8 | |
| wooposgc_get_giftcard_by_code() | 63 | 1 | 11 | |
| __construct() | 91 | 1 | 2 | |
| sendCard() | 91 | 1 | 2 | |
| generateNumber() | 73 | 1 | 4 | |
| wooposgc_increase_balance() | 75 | 1 | 4 | |
| wooposgc_discount_total() | 70 | 1 | 6 |