BfwPoints D

Total Complexity 214
Dependencies 9
Dependents 10
Total lines 1,650
Lines of code 915
Logical lines of code 620
Comment lines 415
Methods 38
Properties 0

Methods 38

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