Payday_Invoice_Model B

Total Complexity 84
Dependencies 14
Dependents 2
Total lines 676
Lines of code 395
Logical lines of code 254
Comment lines 176
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
create_invoice_in_payday_from_wc_order()
D
25
37 151
create_invoice_line_request_from_op_line_item()
A
40 10 54
create_invoice_line_request_from_shipping_line_item()
A
44 10 44
create_invoice_lines_from_order()
A
47 9 36
create_invoice_line_request_from_product_line_item()
S
45 6 41
create_invoice_line_request_from_refund()
S
49 5 29
get_tax_rate()
S
59 3 15
calculate_discount_percentage()
S
69 2 6
create_invoice_line_request_from_fee_line_item()
S
59 1 14
generate_invoice_line_description()
S
73 1 5