myCRED_Badge_Module D

Total Complexity 303
Dependencies 3
Dependents 1
Total lines 2,071
Lines of code 1,270
Logical lines of code 766
Comment lines 273
Methods 48
Properties 0

Methods 48

Method Rating Maintainability Complexity Lines of code
metabox_badge_setup()
D
25
33 153
save_badge()
D
31 34 100
badge_user_screen()
B
34 19 105
after_general_settings()
B
29 12 165
save_manual_badges()
B
46 20 32
adjust_column_content()
A
47 15 35
sanitize_extra_settings()
A
56 13 15
parent_file()
A
56 13 15
module_init()
A
48 12 29
metabox_badge_default()
A
50 11 28
publishing_actions()
A
44 8 52
add_finished()
A
56 8 17
mycred_badge_page_template()
S
50 7 27
populate_account()
S
54 7 21
populate_current_account()
S
54 7 21
subparent_file()
S
62 8 10
enqueue_scripts()
S
42 3 54
delete_badge()
S
53 5 21
flush_rewrite_rules_for_badges()
S
68 6 6
add_metaboxes()
S
46 2 51
insert_into_bbpress_reply()
S
59 4 14
get_level_image()
S
59 4 13
action_assign_badge()
S
61 4 11
action_remove_connections()
S
61 4 11
social_share_br_header()
S
57 3 17
add_to_menu()
S
59 3 15
delete_point_type()
S
69 4 6
insert_into_buddypress()
S
61 3 12
insert_into_bbpress_profile()
S
61 3 12
register_badges()
S
47 1 36
metabox_open_badge()
S
64 3 9
level_template()
S
65 3 10
mycred_switch_all_to_open_badge()
S
60 2 14
adjust_column_headers()
S
59 2 14
register_badge_category()
S
52 1 28
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
69 2 7
requirements_template()
S
74 2 5
enqueue_admin_scripts()
S
78 1 3
metabox_badge_layout()
S
74 1 4
metabox_badge_align()
S
74 1 4
enqueue_front_scripts()
S
78 1 3
rewards_template()
S
82 1 3
mycred_open_badge_init()
S
72 1 5
module_pre_init()
S
69 1 6
__construct()
S
65 1 9