Code Analysis: BuddyPress Automatic Friends 2.0.8

Function Rating Maintainability Complexity Lines of code
BPAF_Update::action_admin_init_perform_updates()
A
52 8 23
BPAF_Admin::render_global_friend_table()
S
46 6 43
BPAF_Core::create_friendships()
S
56 6 16
BPAF_Admin::setup()
S
56 5 16
BPAF_Admin::action_ajax_bpaf_add_global_friend()
S
58 5 15
BPAF_Admin::render_global_friend_table_row()
S
52 4 28
BPAF_Admin::action_ajax_bpaf_delete_global_friend()
S
61 4 12
BPAF_Core::action_bp_loaded()
S
62 4 11
BPAF_Admin::settings_page()
S
46 1 55
BPAF_Admin::action_ajax_bpaf_suggest_global_friend()
S
53 3 23
BPAF_Core::first_login()
S
65 4 9
BPAF_Admin::action_personal_options_update()
S
65 4 8
BPAF_Core::get_global_friends()
S
61 2 13
BPAF_Admin::action_personal_options()
S
58 1 18
BPAF_Admin::instance()
S
70 2 7
BPAF_Admin::action_admin_menu()
S
71 2 5
BPAF_Core::update_friendship_counts()
S
69 2 7
BPAF_Update::setup()
S
65 2 9
BPAF_Core::instance()
S
70 2 7
BPAF_Update::instance()
S
70 2 7
BPAF_Update::admin_notice()
S
78 1 3
BPAF_Core::__construct()
S
98 1 1
BPAF_Update::__clone()
S
98 1 1
BPAF_Admin::__clone()
S
98 1 1
BPAF_Admin::__construct()
S
98 1 1
bpaf_get_global_friends()
S
82 1 3
BPAF_Core::admin_notice()
S
79 1 3
BPAF_Admin::action_admin_enqueue_scripts()
S
71 1 5
bpaf_update_friendship_counts()
S
82 1 3
BPAF_Core::__clone()
S
98 1 1
BPAF_Admin::action_admin_init()
S
79 1 3
BPAF_Update::__construct()
S
98 1 1
bpaf_destroy_friendships()
S
82 1 3
BPAF_Core::setup()
S
71 1 5
bpaf_create_friendships()
S
82 1 3
BPAF_Core::destroy_friendships()
S
76 1 4