Code Analysis: Buddy Views 1.1

Function Rating Maintainability Complexity Lines of code
Rt_Gravity_Reports::generate_data_source()
D
0
184 500
Rt_Gravity_Reports::get_form_fields()
A
42 13 56
Rt_Reports::render_chart()
A
41 1 199
RT_DB_Model::__call()
A
44 11 44
Rt_Gravity_Reports::array_merge_recursive_distinct()
A
50 12 28
RT_DB_Model::get()
A
45 11 39
RT_DB_Update::__construct()
A
47 10 37
Buddy_Views_Widget::form()
A
45 9 46
RT_DB_Update::do_upgrade()
A
53 8 20
buddy_views_is_request()
S
62 7 12
Buddy_Views_Widget_Top_Viewed_Members::widget()
S
48 5 35
Buddy_Views_Integration::record_view_log()
S
48 5 34
Rt_Reports::print_scripts()
S
55 5 19
Buddy_Views_Widget::update()
S
58 5 15
Buddy_Views_Integration::profile_subnav_item()
S
50 4 29
Buddy_Views_Integration::view_profile_notification_format()
S
50 4 27
bv_prepare_view_chart()
S
47 3 36
Rt_Reports::enqueue_scripts()
S
64 5 9
Rt_Reports::__construct()
S
46 2 44
rt_lib_loader()
S
60 4 13
BV_Reports_Loader::print_scripts()
S
57 3 17
Buddy_Views_Loader::run()
S
60 3 14
RT_DB_Model::insert()
S
62 3 11
Buddy_Views_Widget::get_cached_widget()
S
62 3 11
BV_Reports_Loader::__construct()
S
49 1 37
Rt_Gravity_Reports::get_field_choices()
S
68 3 7
Buddy_Views::instance()
S
67 3 7
RT_WP_Autoload::spl_autoload_register()
S
64 3 10
RT_DB_Model::set_table_name()
S
68 3 7
Buddy_Views_Public::enqueue_styles()
S
72 3 4
Buddy_Views_Public::enqueue_scripts()
S
72 3 4
Buddy_Views_Admin::enqueue_styles()
S
72 3 4
buddy_views_compare_timestamp()
S
65 3 9
Buddy_Views_Admin::enqueue_scripts()
S
72 3 4
Buddy_Views_Widget::widget_start()
S
68 3 6
BV_Reports_Loader::enqueue_scripts()
S
67 3 7
Rt_Gravity_Reports::get_field_by_id()
S
67 3 8
Rt_Gravity_Reports::get_field_inputs()
S
68 3 7
Buddy_Views_Integration::show_view_counter()
S
60 2 13
Buddy_Views_Widget_Top_Viewed_Members::__construct()
S
54 1 22
buddy_views_get_user_ip()
S
71 2 6
buddy_views_getcookie()
S
71 2 6
RT_DB_Update::get_install_db_version()
S
77 2 3
RT_WP_Autoload::__construct()
S
67 2 8
RT_DB_Update::update_version()
S
70 2 7
RT_DB_Update::table_exists()
S
68 2 7
RT_DB_Update::genrate_table_name()
S
73 2 4
BV_Reports_Loader::factory()
S
69 2 7
RT_Plugin_Info::set_current_plugin_path()
S
69 2 7
buddy_views_setcookie()
S
67 2 7
Buddy_Views::load_dependencies()
S
60 1 14
RT_Plugin_Info::set_plugin_data()
S
60 1 13
RT_WP_Autoload::get_class_directory_name()
S
79 1 3
Buddy_Views::run()
S
81 1 3
Buddy_Views_Log_Model::add_view_log()
S
80 1 3
Buddy_Views_Loader::add_filter()
S
77 1 3
Buddy_Views_Widget::__construct()
S
64 1 10
Buddy_Views_Widget::flush_widget_cache()
S
79 1 3
Buddy_Views_Integration::add_notification()
S
80 1 3
Buddy_Views_Integration::__construct()
S
69 1 6
Buddy_Views_Loader::add_action()
S
77 1 3
Buddy_Views_Loader::__construct()
S
77 1 4
Buddy_Views_Widget::cache_widget()
S
74 1 4
Buddy_Views::define_public_hooks()
S
72 1 5
Buddy_Views_Deactivator::deactivate()
S
89 1 2
Buddy_Views::__clone()
S
78 1 3
Buddy_Views_Integration::setup_global()
S
65 1 9
Buddy_Views_Install::database_update()
S
74 1 4
Buddy_Views_Log_Model::delete_view_log()
S
80 1 3
RT_DB_Update::genrate_sql()
S
79 1 3
Buddy_Views_Activator::activate()
S
89 1 2
Buddy_Views_Loader::add()
S
64 1 10
Buddy_Views::init_plugin()
S
68 1 8
Buddy_Views::set_locale()
S
74 1 5
RT_DB_Update::check_upgrade()
S
79 1 3
Buddy_Views_Public::__construct()
S
77 1 4
Buddy_Views_Log_Model::update_view_log()
S
79 1 3
Buddy_Views::__wakeup()
S
78 1 3
RT_DB_Model::set_per_page()
S
81 1 3
Buddy_Views_Log_Model::__construct()
S
80 1 3
buddy_views_register_widgets()
S
82 1 3
RT_Plugin_Info::get_plugin_data()
S
76 1 4
deactivate_plugin_name()
S
77 1 4
Buddy_Views_Integration::xprofile_screen_profile_views()
S
67 1 7
Buddy_Views_Integration::bp_profile_views_template_content()
S
80 1 3
Rt_Gravity_Reports::__construct()
S
91 1 2
Buddy_Views_Install::__construct()
S
78 1 3
Buddy_Views_i18n::load_plugin_textdomain()
S
69 1 7
run_buddy_views()
S
81 1 3
RT_DB_Model::delete()
S
75 1 4
RT_DB_Update::get_db_version_option_name()
S
77 1 3
RT_DB_Update::create_table()
S
76 1 4
Buddy_Views::define_admin_hooks()
S
72 1 5
Buddy_Views_i18n::set_domain()
S
81 1 3
Buddy_Views::__construct()
S
91 1 2
Buddy_Views_Admin::__construct()
S
73 1 5
RT_DB_Model::update()
S
75 1 4
RT_Plugin_Info::__construct()
S
77 1 4
RT_DB_Model::__construct()
S
73 1 5
activate_plugin_name()
S
77 1 4
RT_WP_Autoload::get_class_file_name()
S
77 1 3
Buddy_Views_Widget::widget_end()
S
80 1 3