BfwPoints D

Total Complexity 217
Dependencies 11
Dependents 10
Total lines 1,729
Lines of code 965
Logical lines of code 658
Comment lines 429
Methods 39
Properties 0

Methods 39

Method Rating Maintainability Complexity Lines of code
bfw_write_off_points()
C
30 26 113
addPointsForOrder()
C
32 22 96
bfw_export_bonuses()
C
35 23 78
getSumUserOrders()
B
32 20 110
maxPossiblePointsInOrder()
A
42 12 49
deleteBallsOldClients()
A
43 11 41
handle_deduct_points_in_order()
A
42 7 49
refundedPoints()
A
45 7 39
addBallsForBirthday()
A
45 7 36
bfwoo_add_fee()
S
52 7 24
bfwoo_clean_fast_bonus()
S
55 7 19
addOfflineOrder()
S
46 5 37
handle_track_coupon_removal()
S
53 6 20
addEveryDays()
S
50 5 25
bfw_take_coupon_action()
S
53 5 21
bfwoo_trata_points()
S
54 4 21
bfw_button_delete_fast_point()
S
58 4 15
newOrder()
S
50 3 24
bfw_coupon_html()
S
57 3 16
get_virtual_coupon_data_bfw()
S
56 3 14
woocommerceChangeCouponLabelBfw()
S
64 3 9
get_customer_by_billing_phone()
S
59 2 15
bfwCartItemSetQuantity()
S
67 3 7
howLabel()
S
67 3 7
bfwoo_spisaniebonusov_in_checkout_shortcode()
S
68 2 7
updatePoints()
S
66 2 8
roundPoints()
S
68 2 7
bfwoo_spisaniebonusov_in_checkout()
S
68 2 7
pointsLabel()
S
66 1 7
actionWoocommerceBeforeCartItemQuantityZero()
S
79 1 3
excludeCartFeesTaxes()
S
81 1 3
pointsLabelUp()
S
65 1 8
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
updateFastPoints()
S
74 1 4
getFastPoints()
S
74 1 4
getPoints()
S
74 1 4
test()
S
72 1 5