Total Complexity | 238 |
Dependencies | 1 |
Dependents | 1 |
Total lines | 1,456 |
Lines of code | 1,177 |
Logical lines of code | 790 |
Comment lines | 169 |
Methods | 13 |
Properties | 5 |
Method | Rating | Maintainability | Complexity | Lines of code |
---|---|---|---|---|
get_invoice_html_template() | 168 | 906 | ||
generate_invoice_pdf() | 46 | 8 | 40 | |
get_invoice_date() | 47 | 8 | 38 | |
get_invoice_pdf_name() | 53 | 8 | 24 | |
add_attachment_order_email() | 52 | 8 | 23 | |
format_invoice_number() | 53 | 7 | 23 | |
__construct() | 51 | 6 | 25 | |
get_invoice_number() | 53 | 6 | 22 | |
handle_new_order() | 55 | 6 | 20 | |
handle_order_update() | 56 | 5 | 18 | |
add_frontend_action_btns() | 56 | 3 | 16 | |
add_my_account_order_action_btns() | 58 | 3 | 15 | |
invoice_pdf_gen_handler() | 68 | 2 | 7 |