Code Analysis: WibStats 0.5.5

Function Rating Maintainability Complexity Lines of code
wibstats_sql()
D
5
81 566
wibstats_visitor_report()
D
21
51 206
wibstats_savevisit()
D
22
38 191
wibstats_shortcode_func()
D
23
32 189
wibstats_referrer_report()
C
27
25 148
wibstats_searchterm_report()
C
29 20 134
wibstats_searches_report()
B
29 16 137
wibstats_page_report()
B
31 16 115
wibstats_referrers_report()
B
33 14 106
wibstats_dashboard_report()
B
37 16 74
wibstats_direct_report()
B
35 14 87
wibstats_locations_report()
B
32 11 122
wibstats_get_search_phrase()
B
47 17 31
wibstats_wp_plugin_standard_header()
A
40 15 58
wibstats_session_report()
A
35 12 86
wibstats_new_report()
A
38 12 73
wibstats_admin_head()
A
41 11 78
wibstats_rs_to_table()
A
40 12 61
wibstats_check()
A
44 12 50
wibstats_create_demodata()
A
32 6 120
wibstats()
A
36 4 149
wibstats_12week_report()
A
36 8 85
wibstats_24hour_report()
A
37 8 82
wibstats_14day_report()
A
37 8 82
wibstats_12month_report()
A
37 8 80
wibstats_reports()
A
48 11 33
wibstats_content_report()
A
38 8 73
wibstats_recentvisitor_map()
A
41 8 56
wibstats_countries_map()
A
42 7 57
Plugin_Register::Registration()
A
46 8 38
wibstats_blog_domain()
A
58 9 15
wibstats_blog_id()
A
60 9 13
wibstats_blog_link()
A
61 9 12
wibstats_newlocations_report()
A
46 7 38
wibstats_dayofweek()
A
57 8 17
wibstats_environment_report()
A
39 4 76
wibstats_options()
S
44 6 44
wibstats_siteadmin_options()
S
45 6 43
wibstats_popular_months_report()
S
42 5 54
wibstats_popular_weeks_report()
S
42 5 54
wibstats_popular_monthdays_report()
S
42 5 54
wibstats_popular_weekdays_report()
S
42 5 54
wibstats_popular_hours_report()
S
42 5 54
wibstats_cache()
S
50 6 27
wibstats_wp_plugin_standard_footer()
S
52 6 26
wibstats_check02()
S
52 6 23
wibstats_createtables05()
S
43 2 77
wibstats_newterms_report()
S
49 5 29
wibstats_stopwatch()
S
57 5 15
wibstats_get_total()
S
63 5 11
wibstats_globals()
S
53 4 25
wibstats_createtables02()
S
48 2 52
wibstats_rs_to_array()
S
59 4 17
wibstats_check05()
S
50 3 31
wibstats_recentterms_report()
S
49 3 28
wibstats_popularpages_report()
S
50 3 27
wibstats_recentpages_report()
S
50 3 26
wibstats_country_icon()
S
57 3 16
Plugin_Register::Activated()
S
72 4 5
wibstats_checktables05()
S
61 3 13
wibstats_date()
S
61 3 11
wibstats_recentreferrers_report()
S
51 2 26
wibstats_popularcities_report()
S
52 2 24
wibstats_popularreferrers_report()
S
52 2 24
wibstats_popularcountries_report()
S
52 2 24
wibstats_recentlocations_report()
S
52 2 24
wibstats_popularsearchdomains_report()
S
52 2 24
wibstats_popularterms_report()
S
52 2 24
wibstats_populardirectcountries_report()
S
54 2 21
wibstats_demodata()
S
56 2 19
wibstats_recentdirectvisitors_report()
S
54 2 19
wibstats_table_header()
S
60 2 16
wibstats_add_admin()
S
56 2 15
wibstats_percent()
S
64 3 9
wibstats_shorten()
S
66 2 8
wibstats_change()
S
68 2 8
wibstats_gmap_key()
S
68 2 8
wibstats_checktables02()
S
64 2 10
wibstats_times_report()
S
60 1 13
wibstats_setup_shortcodes()
S
80 1 3
wibstats_month()
S
78 1 3
wibstats_addDayToDate()
S
69 1 6
wibstats_get_domain()
S
75 1 4
wibstats_addHourToDate()
S
69 1 6
Plugin_Register::Plugin_Register()
S
72 1 5
wibstats_timelimit()
S
82 1 3
wibstats_activate()
S
83 1 3
wibstats_report_footer()
S
67 1 9
wibstats_total_rows()
S
77 1 4
wibstats_addYearToDate()
S
69 1 6
wibstats_table_footer()
S
77 1 6
wibstats_addMonthToDate()
S
69 1 6
wibstats_report_header()
S
71 1 6
wibstats_small_recentvisitor_map()
S
73 1 4