-
Home
-
MyRewards – Loyalty Points and Rewards for WooCommerce – Reward orders, referrals, product reviews and more
-
5.4.3
-
Code
-
Classes
- LWS_WooRewards
Total Complexity |
83 |
Dependencies |
34 |
Dependents |
0 |
Total lines |
601 |
Lines of code |
451 |
Logical lines of code |
299 |
Comment lines |
50 |
Methods |
32 |
Properties |
0 |
Methods 32
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
install() |
A |
32 |
10 |
105 |
init() |
A |
45 |
7 |
36 |
getOrderValidationStates() |
S |
62 |
7 |
11 |
forceVisitLicencePage() |
S |
58 |
5 |
15 |
registerPostTypes() |
S |
46 |
3 |
43 |
parseQueryForPoolCompletion() |
S |
61 |
5 |
12 |
autoload() |
S |
54 |
4 |
19 |
setupCron() |
S |
55 |
4 |
18 |
getSiteTimezoneString() |
S |
57 |
4 |
16 |
v() |
S |
63 |
4 |
9 |
getPrefabPools() |
S |
56 |
2 |
19 |
getTrialEndMessage() |
S |
56 |
2 |
17 |
getTrialStartMessage() |
S |
56 |
2 |
17 |
getPointSymbol() |
S |
65 |
3 |
8 |
testPoolCompletion() |
S |
58 |
2 |
14 |
defineConstants() |
S |
61 |
1 |
17 |
getInstalledPool() |
S |
72 |
2 |
6 |
getSiteTimezone() |
S |
71 |
2 |
6 |
blocksLoaded() |
S |
62 |
1 |
11 |
extensionListActions() |
S |
63 |
1 |
9 |
addPurchaseUrl() |
S |
79 |
1 |
3 |
addPluginVersion() |
S |
82 |
1 |
3 |
addDocUrl() |
S |
79 |
1 |
3 |
register() |
S |
75 |
1 |
4 |
activation() |
S |
72 |
1 |
5 |
isWC() |
S |
80 |
1 |
3 |
formatPointsWithSymbol() |
S |
73 |
1 |
4 |
formatPoints() |
S |
78 |
1 |
3 |
symbolFilter() |
S |
78 |
1 |
3 |
enqueueGlobalStyles() |
S |
78 |
1 |
3 |
installPool() |
S |
72 |
1 |
5 |
achievement() |
S |
74 |
1 |
4 |