-
Home
-
Razorpay for WooCommerce
-
4.6.6
-
Code
-
Classes
- OneCCAddressSync
Total Complexity |
61 |
Dependencies |
3 |
Dependents |
1 |
Total lines |
378 |
Lines of code |
307 |
Logical lines of code |
151 |
Comment lines |
12 |
Methods |
15 |
Properties |
9 |
Methods 15
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
isMerchantEligible() |
A |
42 |
13 |
56 |
syncAddresses() |
A |
39 |
10 |
76 |
isValidAddress() |
A |
57 |
9 |
17 |
sync() |
S |
48 |
6 |
35 |
makeAPICall() |
S |
51 |
4 |
26 |
getAddressFromOrders() |
S |
54 |
4 |
19 |
getAddresses() |
S |
58 |
3 |
17 |
markStatusAsCompleted() |
S |
56 |
2 |
20 |
handleGetJobConfigsFailure() |
S |
66 |
3 |
8 |
postAddresses() |
S |
66 |
2 |
8 |
getOrders() |
S |
63 |
1 |
11 |
__construct() |
S |
81 |
1 |
3 |
getAddressSyncConfigs() |
S |
74 |
1 |
4 |
isEmpty() |
S |
79 |
1 |
3 |
handleCronFailure() |
S |
75 |
1 |
4 |