Woocommerce\Pagarme\Model\Order S

Total Complexity 47
Dependencies 6
Dependents 14
Total lines 300
Lines of code 181
Logical lines of code 97
Comment lines 24
Methods 16
Properties 31

Methods 16

Method Rating Maintainability Complexity Lines of code
needs_processing()
S
56 7 18
handle_shipping_properties()
S
55 6 21
update_by_pagarme_status()
S
59 6 17
payment_paid()
S
58 3 16
getWcOrderById()
S
68 4 7
get_charges()
S
61 3 14
getTotalAmountByCharges()
S
64 3 10
isPagarmePaymentMethod()
S
66 3 8
payment_canceled()
S
60 2 14
payment_on_hold()
S
60 2 13
paymentFailed()
S
63 2 11
log()
S
64 2 10
get_shipping_info()
S
64 1 11
__construct()
S
73 1 5
calculateInstallmentFee()
S
79 1 3
getWcOrder()
S
82 1 3