-
Home
-
Codup WooCommerce Referral System
-
1.1.2.1 (latest)
-
Code
-
Classes
- CodupWCReferralSystem
Total Complexity |
60 |
Dependencies |
2 |
Dependents |
0 |
Total lines |
478 |
Lines of code |
322 |
Logical lines of code |
151 |
Comment lines |
46 |
Methods |
20 |
Properties |
1 |
Methods 20
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
apply_coupon_for_referral() |
A |
48 |
11 |
32 |
reward_referrer() |
A |
41 |
7 |
60 |
apply_coupon_validation() |
A |
52 |
8 |
23 |
save_referral_parameter() |
S |
56 |
5 |
15 |
generateSettingsFields() |
S |
43 |
1 |
58 |
hook_referral_endpoint() |
S |
61 |
4 |
12 |
get_reward_coupons() |
S |
58 |
3 |
16 |
remove_reward_coupon() |
S |
66 |
3 |
7 |
get_coupons() |
S |
59 |
2 |
15 |
addSettingDefaults() |
S |
69 |
3 |
7 |
get_pages() |
S |
63 |
2 |
11 |
__construct() |
S |
55 |
1 |
17 |
locate_core_template() |
S |
64 |
2 |
10 |
add_referral_system_page() |
S |
63 |
2 |
10 |
add_referral_link() |
S |
68 |
1 |
7 |
saveSettings() |
S |
82 |
1 |
3 |
addSettingsTabContents() |
S |
77 |
1 |
4 |
add_custom_wcrf_email() |
S |
72 |
1 |
5 |
addSettingsTab() |
S |
75 |
1 |
4 |
addActionLinks() |
S |
70 |
1 |
6 |