Payday_Invoice_Model B

Total Complexity 78
Dependencies 13
Dependents 2
Total lines 633
Lines of code 368
Logical lines of code 233
Comment lines 165
Methods 10
Properties 0

Methods 10

Method Rating Maintainability Complexity Lines of code
create_invoice_in_payday_from_wc_order()
D
25
35 144
create_invoice_line_request_from_op_line_item()
A
40 10 54
create_invoice_line_request_from_shipping_line_item()
A
45 9 41
create_invoice_lines_from_order()
A
47 9 36
create_invoice_line_request_from_refund()
S
49 5 28
create_invoice_line_request_from_product_line_item()
S
47 4 35
get_tax_rate()
S
68 2 7
calculate_discount_percentage()
S
69 2 6
create_invoice_line_request_from_fee_line_item()
S
60 1 13
generate_invoice_line_description()
S
77 1 4