EDD_Download C

Total Complexity 109
Dependencies 3
Dependents 13
Total lines 903
Lines of code 337
Logical lines of code 204
Comment lines 368
Methods 36
Properties 35

Methods 36

Method Rating Maintainability Complexity Lines of code
is_free()
A
54 11 19
get_files()
A
52 10 23
update_meta()
S
55 7 18
get_variable_priced_bundled_downloads()
S
56 7 18
get_refund_window()
S
57 5 17
get_file_download_limit()
S
57 5 17
setup_download()
S
59 5 15
get_default_price_id()
S
60 5 12
get_refundability()
S
58 4 16
get_button_behavior()
S
64 4 9
get_price()
S
63 3 11
create()
S
57 2 16
get_type()
S
65 3 9
get_sales()
S
63 3 10
get_sku()
S
65 3 9
get_earnings()
S
63 3 10
can_purchase()
S
67 3 7
get_prices()
S
65 3 9
get_file_price_condition()
S
67 2 7
is_single_price_mode()
S
73 2 4
get_notes()
S
69 2 6
__get()
S
67 2 7
get_bundled_downloads()
S
69 2 6
decrease_earnings()
S
68 1 7
quantities_disabled()
S
74 1 4
recalculate_net_sales_earnings()
S
71 1 5
recalculate_gross_sales_earnings()
S
72 1 5
__construct()
S
76 1 4
increase_earnings()
S
68 1 7
decrease_sales()
S
68 1 7
increase_sales()
S
68 1 7
is_bundled_download()
S
80 1 3
has_variable_prices()
S
74 1 4
get_name()
S
80 1 3
get_ID()
S
82 1 3
get_bundle_pricing_variations()
S
79 1 3