EEH_Line_Item D

Total Complexity 216
Dependencies 20
Dependents 9
Total lines 2,056
Lines of code 1,044
Logical lines of code 421
Comment lines 791
Methods 58
Properties 0

Methods 58

Method Rating Maintainability Complexity Lines of code
calculate_reg_final_prices_per_line_item()
B
38 18 77
cancel_ticket_line_item()
A
38 11 76
visualize()
A
48 11 31
create_ticket_line_item()
A
40 9 57
non_empty_line_items()
A
51 10 28
reinstate_canceled_ticket_line_item()
A
43 8 52
apply_taxes()
A
46 7 39
set_total_tax_to()
A
46 7 38
increment_ticket_qty_if_already_in_cart()
S
55 7 20
delete_items()
S
52 6 26
_get_descendants_by_type_and_object_type()
S
53 6 25
billable_line_item()
S
53 6 24
_get_descendants_by_object_type_and_object_ID()
S
53 6 24
resetIsTaxableForTickets()
S
58 6 15
find_transaction_grand_total_for_line_item()
S
53 5 25
calculate_final_price_for_ticket_line_item()
S
53 5 24
get_event_line_item_for_ticket()
S
49 4 37
get_event_line_item()
S
54 5 22
_get_nearest_descendant()
S
58 5 18
set_line_items_taxable()
S
58 5 16
add_ticket_purchase()
S
55 4 20
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
54 2 21
create_event_subtotal()
S
57 2 17
add_percentage_based_item()
S
56 1 18
create_taxes_subtotal()
S
58 1 16
create_total_line_item()
S
58 1 16
ensure_taxes_applied()
S
69 2 7
get_event_name()
S
71 2 5
add_item()
S
64 2 10
get_pre_tax_subtotal()
S
70 2 6
get_taxes_subtotal()
S
74 2 4
set_TXN_ID()
S
69 2 7
create_pre_tax_subtotal()
S
59 1 15
get_event_code()
S
77 2 3
get_event_desc()
S
78 2 3
set_event_subtotal_details()
S
65 2 9
create_default_event_subtotal()
S
64 1 11
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
get_event_subtotals()
S
78 1 3
get_grand_total_and_recalculate_everything()
S
75 1 4
get_line_items_by_object_type_and_IDs()
S
70 1 7
get_nearest_descendant_of_type()
S
78 1 3
get_ticket_line_items()
S
72 1 6
get_line_items_of_object_type()
S
70 1 7
get_tax_descendants()
S
72 1 6
get_line_item_descendants()
S
72 1 6
get_descendants_of_type()
S
70 1 7
get_nearest_descendant_having_code()
S
78 1 3
get_subtotals_of_object_type()
S
70 1 7