Total Complexity | 262 |
Dependencies | 1 |
Dependents | 2 |
Total lines | 1,580 |
Lines of code | 1,273 |
Logical lines of code | 870 |
Comment lines | 193 |
Methods | 13 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_invoice_html_template() | 182 | 949 | ||
get_invoice_date() | 41 | 11 | 63 | |
generate_invoice_pdf() | 43 | 9 | 47 | |
add_attachment_order_email() | 50 | 10 | 26 | |
handle_new_order() | 51 | 8 | 26 | |
get_invoice_pdf_name() | 53 | 8 | 24 | |
format_invoice_number() | 53 | 7 | 23 | |
handle_order_update() | 53 | 7 | 22 | |
get_invoice_number() | 50 | 6 | 30 | |
__construct() | 51 | 6 | 25 | |
add_frontend_action_btns() | 56 | 3 | 16 | |
add_my_account_order_action_btns() | 58 | 3 | 15 | |
invoice_pdf_gen_handler() | 68 | 2 | 7 |