Payday_Invoice_Model B

Total Complexity 84
Dependencies 14
Dependents 2
Total lines 669
Lines of code 392
Logical lines of code 250
Comment lines 174
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
create_invoice_in_payday_from_wc_order()
D
24
39 158
create_invoice_line_request_from_op_line_item()
A
40 10 54
create_invoice_line_request_from_shipping_line_item()
A
44 9 42
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
68 2 7
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