-
Home
-
Gift Cards (Gift Vouchers and Packages) (WooCommerce Supported)
-
4.4.2
-
Code
-
Classes
- WPGV_Gift_Voucher
| Total Complexity |
45 |
| Dependencies |
1 |
| Dependents |
5 |
| Total lines |
251 |
| Lines of code |
174 |
| Logical lines of code |
98 |
| Comment lines |
13 |
| Methods |
23 |
| Properties |
7 |
Methods 23
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| update_property() |
S |
57 |
4 |
16 |
| create_card() |
S |
58 |
4 |
14 |
| __construct() |
S |
55 |
3 |
19 |
| add_card() |
S |
58 |
3 |
15 |
| has_expired() |
S |
60 |
3 |
14 |
| get_by_id() |
S |
62 |
3 |
11 |
| adjust_balance() |
S |
63 |
3 |
10 |
| get_activity() |
S |
57 |
1 |
22 |
| get_balance() |
S |
66 |
2 |
8 |
| credit() |
S |
68 |
2 |
7 |
| debit() |
S |
68 |
2 |
7 |
| deactivate() |
S |
72 |
2 |
5 |
| reactivate() |
S |
72 |
2 |
5 |
| check_balance_url() |
S |
64 |
2 |
10 |
| get_id() |
S |
92 |
1 |
1 |
| get_number() |
S |
92 |
1 |
1 |
| get_active() |
S |
92 |
1 |
1 |
| get_create_date() |
S |
92 |
1 |
1 |
| get_payment_status() |
S |
92 |
1 |
1 |
| get_expiration_date() |
S |
92 |
1 |
1 |
| set_expiration_date() |
S |
90 |
1 |
1 |
| get_error_message() |
S |
92 |
1 |
1 |
| log_activity() |
S |
78 |
1 |
3 |