-
Home
-
myCred – Loyalty Points and Rewards plugin for WordPress and WooCommerce – Give Points, Ranks, Badges, Cashback, WooCommerce rewards, and WooCommerce credits for Gamification
-
2.6
-
Code
-
Classes
- myCRED_Coupons_Module
Total Complexity |
132 |
Dependencies |
0 |
Dependents |
1 |
Total lines |
1,131 |
Lines of code |
746 |
Logical lines of code |
351 |
Comment lines |
143 |
Methods |
29 |
Properties |
0 |
Methods 29
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
rewards_html() |
C |
38 |
24 |
70 |
mycred_coupon_badges_ranks() |
B |
35 |
13 |
98 |
adjust_column_content() |
A |
43 |
12 |
43 |
save_coupon() |
A |
48 |
13 |
28 |
mycred_change_dropdown_ajax_handler() |
A |
49 |
8 |
30 |
after_general_settings() |
S |
38 |
2 |
90 |
parent_file() |
S |
64 |
8 |
8 |
subparent_file() |
S |
62 |
8 |
10 |
mycred_coupon_requirements() |
S |
44 |
4 |
53 |
add_metaboxes() |
S |
47 |
4 |
45 |
metabox_coupon_setup() |
S |
43 |
3 |
57 |
warn_bad_expiration() |
S |
61 |
6 |
10 |
mycred_coupon_usage() |
S |
58 |
4 |
13 |
metabox_coupon_limits() |
S |
48 |
2 |
41 |
register_coupons() |
S |
48 |
1 |
33 |
add_to_menu() |
S |
65 |
3 |
9 |
adjust_column_headers() |
S |
60 |
2 |
12 |
edit_coupons_style() |
S |
62 |
2 |
11 |
post_updated_messages() |
S |
58 |
1 |
16 |
adjust_row_actions() |
S |
69 |
2 |
7 |
module_admin_init() |
S |
57 |
1 |
15 |
enter_title_here() |
S |
70 |
2 |
6 |
sanitize_extra_settings() |
S |
62 |
1 |
11 |
__construct() |
S |
63 |
1 |
10 |
coupon_style() |
S |
91 |
1 |
2 |
enqueue_admin_scripts() |
S |
73 |
1 |
4 |
module_init() |
S |
67 |
1 |
7 |
bulk_actions() |
S |
76 |
1 |
4 |
parse_log_entry() |
S |
79 |
1 |
3 |