BfwPoints D

Total Complexity 189
Dependencies 7
Dependents 10
Total lines 1,438
Lines of code 788
Logical lines of code 540
Comment lines 374
Methods 36
Properties 0

Methods 36

Method Rating Maintainability Complexity Lines of code
addPointsForOrder()
D
27
36 121
getSumUserOrders()
B
33 19 107
bfw_write_off_points()
B
35 19 77
maxPossiblePointsInOrder()
A
43 12 47
deleteBallsOldClients()
A
43 11 41
bfw_export_bonuses()
A
46 10 32
refundedPoints()
A
45 7 39
addBallsForBirthday()
A
47 7 33
bfwoo_clean_fast_bonus()
S
55 7 19
addEveryDays()
S
50 5 25
bfw_take_coupon_action()
S
53 5 21
addOfflineOrder()
S
47 4 33
bfwoo_add_fee()
S
60 5 12
newOrder()
S
50 3 24
bfwoo_trata_points()
S
57 3 17
get_virtual_coupon_data_bfw()
S
56 3 14
bfw_button_delete_fast_point()
S
61 3 12
howLabel()
S
67 3 7
woocommerceChangeCouponLabelBfw()
S
64 3 9
bfwCartItemSetQuantity()
S
67 3 7
bfw_coupon_html()
S
59 2 13
roundPoints()
S
68 2 7
updatePoints()
S
66 2 8
bfwoo_spisaniebonusov_in_checkout_shortcode()
S
68 2 7
bfwoo_spisaniebonusov_in_checkout()
S
68 2 7
getPoints()
S
74 1 4
test()
S
72 1 5
getFastPoints()
S
74 1 4
updateFastPoints()
S
74 1 4
actionWoocommerceBeforeCartItemQuantityZero()
S
79 1 3
excludeCartFeesTaxes()
S
81 1 3
pointsLabelUp()
S
68 1 6
bfwoo_spisaniebonusov_in_cart_blocks()
S
73 1 5
bfwoo_spisaniebonusov_in_cart_shortcode()
S
76 1 4
bfwoo_spisaniebonusov_in_cart()
S
76 1 4
pointsLabel()
S
66 1 7