myCRED_Badge_Module D

Total Complexity 306
Dependencies 3
Dependents 1
Total lines 2,119
Lines of code 1,307
Logical lines of code 754
Comment lines 282
Methods 50
Properties 0

Methods 50

Method Rating Maintainability Complexity Lines of code
metabox_badge_setup()
D
22
33 204
save_badge()
D
31 36 100
badge_user_screen()
C
31 20 124
save_manual_badges()
B
46 20 32
after_general_settings()
B
31 11 145
module_init()
A
46 13 32
parent_file()
A
56 13 15
adjust_column_content()
A
50 12 27
metabox_badge_default()
A
49 11 28
sanitize_extra_settings()
A
58 11 13
publishing_actions()
A
44 8 52
mycred_badge_page_template()
A
50 8 27
add_finished()
A
56 8 17
populate_account()
S
54 7 21
populate_current_account()
S
54 7 21
subparent_file()
S
62 8 10
enqueue_scripts()
S
43 3 53
delete_badge()
S
53 5 21
flush_rewrite_rules_for_badges()
S
68 6 6
action_assign_badge()
S
60 5 11
action_remove_connections()
S
60 5 11
add_metaboxes()
S
46 2 51
get_level_image()
S
59 4 13
social_share_br_header()
S
57 3 17
add_to_menu()
S
59 3 15
insert_into_bbpress_reply()
S
63 4 9
delete_point_type()
S
69 4 6
register_badges()
S
47 1 35
insert_into_buddypress()
S
66 3 7
insert_into_bbpress_profile()
S
66 3 7
metabox_open_badge()
S
64 3 9
level_template()
S
65 3 10
mycred_switch_all_to_open_badge()
S
60 2 14
register_badge_category()
S
52 1 28
adjust_column_headers()
S
60 2 13
module_admin_init()
S
54 1 19
post_updated_messages()
S
57 1 17
enter_title_here()
S
70 2 6
metabox_congratulation_msg()
S
68 2 7
requirements_template()
S
74 2 5
enqueue_admin_scripts()
S
78 1 3
enqueue_front_scripts()
S
73 1 4
mycred_badge_button_html()
S
81 1 6
metabox_badge_layout()
S
74 1 4
metabox_badge_align()
S
74 1 4
rewards_template()
S
82 1 3
mycred_open_badge_init()
S
71 1 5
after_badge_assign()
S
72 1 5
module_pre_init()
S
69 1 6
__construct()
S
65 1 9