-
Home
-
PW WooCommerce Gift Cards
-
1.254 (latest)
-
Code
-
Classes
- PW_Gift_Card
Total Complexity |
73 |
Dependencies |
1 |
Dependents |
5 |
Total lines |
416 |
Lines of code |
287 |
Logical lines of code |
153 |
Comment lines |
27 |
Methods |
29 |
Properties |
8 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
__construct() |
S |
57 |
6 |
17 |
add_card() |
S |
52 |
5 |
24 |
update_property() |
S |
56 |
5 |
17 |
plugin_activate() |
S |
59 |
5 |
15 |
random_card_number() |
S |
60 |
4 |
13 |
get_original_order_item_id() |
S |
54 |
3 |
24 |
get_balance() |
S |
63 |
4 |
10 |
load_gift_card_data() |
S |
60 |
3 |
14 |
get_expiration_date_html() |
S |
61 |
3 |
12 |
adjust_balance() |
S |
62 |
3 |
11 |
create_tables() |
S |
57 |
2 |
19 |
create_card() |
S |
63 |
3 |
10 |
credit() |
S |
64 |
3 |
10 |
get_by_id() |
S |
63 |
3 |
10 |
get_activity() |
S |
55 |
1 |
25 |
has_expired() |
S |
65 |
2 |
9 |
get_gift_card() |
S |
65 |
2 |
9 |
debit() |
S |
68 |
2 |
7 |
deactivate() |
S |
72 |
2 |
5 |
reactivate() |
S |
72 |
2 |
5 |
check_balance_url() |
S |
64 |
2 |
10 |
get_active() |
S |
92 |
1 |
1 |
log_activity() |
S |
74 |
1 |
4 |
get_error_message() |
S |
92 |
1 |
1 |
get_create_date() |
S |
92 |
1 |
1 |
get_expiration_date() |
S |
92 |
1 |
1 |
set_expiration_date() |
S |
94 |
1 |
1 |
get_number() |
S |
92 |
1 |
1 |
get_id() |
S |
92 |
1 |
1 |