Code Analysis: EDD Enhanced Sales Reports 1.0.7

Function Rating Maintainability Complexity Lines of code
esr_edd_enhanced_sales_country()
D
3
143 291
esr_edd_enhanced_sales_country()
D
3
143 291
esr_getReportData_for_mail()
D
6
69 576
esr_edd_enhanced_sales_customers()
D
15
89 196
esr_edd_enhanced_sales_product_reports()
D
14
88 200
esr_edd_enhanced_sales_product_reports()
D
14
88 200
esr_edd_enhanced_sales_customers()
D
15
88 197
esr_edd_enhanced_sales_by_vendor()
D
19
75 170
esr_edd_enhanced_sales_by_vendor()
D
19
74 172
simple_html_dom_node::seek()
D
23
63 152
simple_html_dom::read_tag()
D
21
58 185
esr_edd_enhanced_reports_get_vendor()
D
24
44 145
esr_edd_enhanced_reports_get_country()
D
21
35 244
esr_edd_enhanced_reports_get_geography()
D
21
35 241
esr_edd_enhanced_reports_get_vendor()
D
26
38 130
esr_edd_enhanced_reports_get_country()
D
22
31 231
esr_edd_enhanced_reports_get_geography()
D
23
30 226
esr_edd_enhanced_reports_get_customers()
D
30 32 108
esr_edd_enhanced_reports_get_customers()
C
32 28 91
simple_html_dom::parse_charset()
C
34 27 93
esr_edd_enhanced_save_reports()
C
40 29 43
esr_edd_enhanced_save_reports()
C
41 28 42
edd_enhanced_sales_reports_page()
B
29 14 206
simple_html_dom_node::parse_selector()
B
40 22 58
esr_esr_edd_enhanced_reports_get_customers_product()
B
34 20 81
esr_sync_country_from_order()
B
38 20 67
esr_sync_country_from_order()
B
40 18 57
esr_esr_edd_enhanced_reports_get_customers_product()
B
36 16 71
simple_html_dom_node::outertext()
B
44 17 41
esr_allCountriesList()
A
21
1 256
esr_allCountriesList()
A
21
1 256
simple_html_dom_node::get_display_size()
A
44 14 47
simple_html_dom_node::find()
A
47 14 33
esr_edd_enhanced_get_city_option()
A
51 14 24
esr_edd_enhanced_get_city_option()
A
51 14 24
simple_html_dom_node::is_utf8()
A
50 13 25
simple_html_dom_node::convert_text()
A
47 12 38
EDDEnhancedSalesReportsFree::edd_enhanced_sales_reports_deactivation()
A
41 10 55
esr_edd_enhanced_get_vendor_option()
A
46 11 37
esr_edd_enhanced_get_vendor_option()
A
46 11 37
simple_html_dom_node::dump_node()
A
45 10 44
simple_html_dom_node::text()
A
51 11 25
esr_edd_enhanced_report_form()
A
39 7 80
simple_html_dom::parse_attr()
A
48 10 32
esr_edd_enhanced_report_form()
A
41 7 70
simple_html_dom_node::match()
A
51 10 25
esr_getUserCountry()
A
52 10 22
esr_getUserCountry()
A
52 10 22
esr_edd_enhanced_saved_reports()
A
46 9 36
esr_edd_enhanced_get_state_option()
A
54 10 20
esr_edd_enhanced_get_state_option()
A
54 10 20
esr_edd_enhanced_get_order()
A
49 9 30
esr_edd_enhanced_get_order()
A
50 9 27
simple_html_dom_node::makeup()
A
49 8 31
esr_edd_enhanced_get_pruduct_option()
A
49 8 30
esr_edd_enhanced_get_pruduct_option()
A
49 8 29
esr_ajax_edd_enhanced_call_tab_data_free()
A
52 8 26
simple_html_dom_node::removeChild()
A
53 8 22
esr_ajax_edd_geo_getLocation_free()
S
62 9 10
esr_edd_enhanced_get_country_option_meta()
S
49 7 30
esr_edd_enhanced_get_country_option_meta()
S
48 7 30
simple_html_dom::clear()
S
54 7 24
simple_html_dom_node::addClass()
S
54 7 22
simple_html_dom::restore_noise()
S
49 6 32
simple_html_dom::remove_noise()
S
52 6 23
simple_html_dom_node::removeClass()
S
56 6 20
simple_html_dom_node::find_ancestor_tag()
S
56 6 18
simple_html_dom_node::__set()
S
56 6 17
simple_html_dom_node::dump()
S
57 6 16
simple_html_dom::__get()
S
61 6 14
simple_html_dom_node::__get()
S
61 6 12
simple_html_dom::__construct()
S
56 5 20
esr_edd_enhanced_selected_report_delete()
S
61 5 11
esr_edd_enhanced_selected_report_delete()
S
61 5 11
file_get_html()
S
53 4 24
EDDEnhancedSalesReportsFree::includes()
S
54 4 20
EDD_ESR_Extension_Activation::__construct()
S
55 4 19
esr_addOrdinalNumberSuffix()
S
62 5 10
esr_addOrdinalNumberSuffix()
S
62 5 10
simple_html_dom::parse()
S
58 4 15
simple_html_dom_node::__isset()
S
66 5 8
simple_html_dom::copy_until_char()
S
59 4 14
simple_html_dom_node::innertext()
S
61 4 13
esr_edd_enhanced_report_filter_datas()
S
61 4 12
esr_edd_enhanced_report_filter_datas()
S
61 4 12
simple_html_dom_node::hasClass()
S
61 4 12
EDDEnhancedSalesReportsFree::esr_show_notification()
S
61 4 12
EDDEnhancedSalesReportsFree::edd_esr_on_complete_purchase()
S
53 3 24
simple_html_dom::load()
S
52 3 24
esr_edd_enhanced_saved_reports()
S
54 3 20
str_get_html()
S
59 3 16
simple_html_dom_node::prev_sibling()
S
63 4 10
simple_html_dom::search_noise()
S
65 4 9
EDDEnhancedSalesReportsFree::load_textdomain()
S
58 3 15
simple_html_dom_node::next_sibling()
S
63 4 10
EDDEnhancedSalesReportsFree::hooks()
S
59 3 13
simple_html_dom::prepare()
S
55 2 19
EDDEnhancedSalesReportsFree::load_table()
S
58 2 17
simple_html_dom_node::children()
S
66 3 9
edd_enhanced_sales_reports_action_links()
S
68 3 7
esr_edd_enhanced_report_delete()
S
64 3 9
esr_searchCityKey()
S
67 3 8
esr_edd_enhanced_get_country_option()
S
65 3 9
esr_searchCityKey()
S
67 3 8
esr_edd_enhanced_report_delete()
S
64 3 9
esr_edd_enhanced_get_country_option()
S
65 3 9
esr_getAuthorId()
S
68 3 7
simple_html_dom::copy_skip()
S
65 3 8
edd_esr_notice_review()
S
60 2 13
EDDEnhancedSalesReportsFree::instance()
S
65 2 11
simple_html_dom_node::remove()
S
75 2 5
edd_enhanced_sales_reports_row_links()
S
65 2 9
simple_html_dom::as_text_node()
S
65 2 8
simple_html_dom_node::save()
S
69 2 7
edd_enhance_sales_report_activation_free()
S
75 2 5
EDDEnhancedSalesReportsFree::edd_enhanced_sales_reports_deactive_modal()
S
69 2 7
simple_html_dom_node::parent()
S
68 2 8
edd_esr_notice_review_script()
S
61 1 15
simple_html_dom::copy_until()
S
67 2 7
simple_html_dom_node::first_child()
S
72 2 6
simple_html_dom::save()
S
72 2 5
simple_html_dom_node::__unset()
S
79 2 3
EDDEnhancedSalesReportsFree::esr_assets()
S
57 1 15
EDD_ESR_Extension_Activation::edd_lpct_mailchimp_missing_edd_notice()
S
62 2 10
simple_html_dom_node::last_child()
S
72 2 6
simple_html_dom::skip()
S
73 2 4
simple_html_dom::link_nodes()
S
69 2 7
simple_html_dom::load_file()
S
67 2 8
simple_html_dom_node::getElementsByTagName()
S
80 1 3
simple_html_dom_node::firstChild()
S
82 1 3
simple_html_dom::__destruct()
S
83 1 3
simple_html_dom_node::parentNode()
S
82 1 3
simple_html_dom::firstChild()
S
82 1 3
simple_html_dom_node::getAttribute()
S
81 1 3
simple_html_dom::getElementById()
S
79 1 3
simple_html_dom_node::__toString()
S
82 1 3
simple_html_dom::lastChild()
S
82 1 3
simple_html_dom_node::hasChildNodes()
S
82 1 3
simple_html_dom::remove_callback()
S
82 1 3
simple_html_dom_node::previousSibling()
S
82 1 3
simple_html_dom_node::xmltext()
S
70 1 6
simple_html_dom_node::has_child()
S
80 1 3
simple_html_dom_node::__destruct()
S
83 1 3
simple_html_dom_node::appendChild()
S
77 1 4
simple_html_dom_node::getElementByTagName()
S
80 1 3
esr_ajax_edd_enhanced_report_form_free()
S
79 1 4
EDD_ESR_Extension_Activation::run()
S
79 1 3
simple_html_dom::dump()
S
82 1 3
simple_html_dom_node::clear()
S
72 1 6
dump_html_tree()
S
82 1 3
esr_ajax_edd_enhanced_report_delete_free()
S
79 1 4
esr_getAuthorId()
S
76 1 4
esr_ajax_edd_enhanced_report_filter_data_free()
S
79 1 4
EDDEnhancedSalesReportsFree::setup_constants()
S
75 1 7
simple_html_dom_node::hasAttribute()
S
81 1 3
simple_html_dom_node::getAllAttributes()
S
83 1 3
simple_html_dom::__toString()
S
82 1 3
simple_html_dom::getElementsById()
S
79 1 3
simple_html_dom_node::__construct()
S
77 1 4
simple_html_dom_node::getElementById()
S
79 1 3
EDDEnhancedSalesReportsFree_load()
S
83 1 3
simple_html_dom::find()
S
79 1 3
simple_html_dom_node::lastChild()
S
82 1 3
simple_html_dom::childNodes()
S
81 1 3
simple_html_dom_node::setAttribute()
S
80 1 3
esr_ajax_edd_enhanced_selected_report_delete_free()
S
79 1 4
simple_html_dom::set_callback()
S
82 1 3
edd_enhanced_sales_reports_tab()
S
67 1 10
simple_html_dom::loadFile()
S
77 1 4
edd_esr_dismiss_review_notice()
S
76 1 4
simple_html_dom_node::removeAttribute()
S
80 1 3
simple_html_dom::getElementByTagName()
S
80 1 3
simple_html_dom::createTextNode()
S
80 1 3
simple_html_dom::createElement()
S
78 1 3
simple_html_dom_node::nodeName()
S
83 1 3
simple_html_dom_node::childNodes()
S
81 1 3
esr_ajax_edd_enhanced_save_report_free()
S
79 1 4
esr_ajax_edd_enhanced_synchronizeLoc_free()
S
79 1 4
simple_html_dom::getElementsByTagName()
S
80 1 3
EDDEnhancedSalesReportsFree::__construct()
S
91 1 2
simple_html_dom_node::nextSibling()
S
82 1 3
esr_edd_get_the_pro_version()
S
74 1 5
simple_html_dom_node::getElementsById()
S
79 1 3