EEH_Line_Item D

Total Complexity 239
Dependencies 23
Dependents 10
Total lines 2,217
Lines of code 1,133
Logical lines of code 464
Comment lines 823
Methods 59
Properties 1

Methods 59

Method Rating Maintainability Complexity Lines of code
calculate_reg_final_prices_per_line_item()
B
37 18 80
create_ticket_line_item()
B
34 17 90
visualize()
B
43 18 41
cancel_ticket_line_item()
A
38 11 78
apply_taxes()
A
43 11 49
non_empty_line_items()
A
51 10 28
reinstate_canceled_ticket_line_item()
A
43 8 52
set_total_tax_to()
A
46 7 40
increment_ticket_qty_if_already_in_cart()
S
55 7 20
find_transaction_grand_total_for_line_item()
S
52 6 28
_get_descendants_by_type_and_object_type()
S
53 6 25
delete_items()
S
52 6 25
billable_line_item()
S
53 6 24
resetIsTaxableForTickets()
S
58 6 15
calculate_final_price_for_ticket_line_item()
S
51 5 29
_get_descendants_by_object_type_and_object_ID()
S
54 5 23
get_event_line_item_for_ticket()
S
49 4 37
get_event_line_item()
S
54 5 22
add_ticket_purchase()
S
54 5 22
_get_nearest_descendant()
S
58 5 18
set_line_items_taxable()
S
58 5 16
delete_all_child_items()
S
58 4 16
decrement_quantity()
S
59 4 14
increment_quantity()
S
60 4 13
non_empty_line_item()
S
61 4 12
update_quantity()
S
62 4 12
billable_line_item_tree()
S
62 3 12
add_unrelated_item()
S
53 2 24
add_percentage_based_item()
S
53 2 23
create_event_subtotal()
S
56 2 19
create_total_line_item()
S
57 1 18
create_taxes_subtotal()
S
57 1 18
create_pre_tax_subtotal()
S
58 1 17
ensure_taxes_applied()
S
69 2 7
getGlobalTaxes()
S
67 2 8
add_item()
S
67 2 8
get_pre_tax_subtotal()
S
70 2 6
get_taxes_subtotal()
S
74 2 4
set_TXN_ID()
S
69 2 7
get_event_code()
S
77 2 3
get_event_name()
S
71 2 5
set_event_subtotal_details()
S
65 2 9
get_event_desc()
S
78 2 3
create_default_taxes_subtotal()
S
64 1 11
create_default_tickets_subtotal()
S
64 1 11
create_default_total_line_item()
S
64 1 11
get_items_subtotal()
S
64 1 11
create_default_event_subtotal()
S
64 1 11
get_line_items_of_object_type()
S
70 1 7
get_nearest_descendant_of_type()
S
78 1 3
get_subtotals_of_object_type()
S
70 1 7
get_grand_total_and_recalculate_everything()
S
75 1 4
get_event_subtotals()
S
78 1 3
get_tax_descendants()
S
72 1 6
get_line_item_descendants()
S
72 1 6
get_descendants_of_type()
S
72 1 6
get_line_items_by_object_type_and_IDs()
S
70 1 7
get_nearest_descendant_having_code()
S
78 1 3
get_ticket_line_items()
S
72 1 6