AnsPress_Hooks D

Total Complexity 127
Dependencies 0
Dependents 0
Total lines 1,082
Lines of code 502
Logical lines of code 288
Comment lines 444
Methods 38
Properties 1

Methods 38

Method Rating Maintainability Complexity Lines of code
before_delete()
A
43 12 44
save_answer_hooks()
A
47 10 33
save_question_hooks()
A
50 9 27
trash_post_action()
A
47 7 35
get_comments_number()
S
58 6 14
init()
S
36 1 83
wp_insert_post_data()
S
61 6 10
transition_post_status()
S
60 5 12
untrash_posts()
S
54 4 20
publish_comment()
S
54 4 19
base_page_update()
S
58 4 16
edit_comment()
S
58 4 15
display_question_metas()
S
69 4 6
delete_subscribers()
S
64 4 9
fix_nav_current_class()
S
65 4 9
delete_subscriptions()
S
60 3 14
new_subscriber()
S
63 3 10
safe_style_css()
S
68 3 7
show_admin_bar()
S
69 3 6
new_comment_approve()
S
66 3 8
delete_answer()
S
68 2 7
flush_rules()
S
71 2 6
comment_trash()
S
70 2 6
comment_unapprove()
S
73 2 5
delete_comment_subscriptions()
S
63 2 10
delete_subscriber()
S
69 2 6
comment_approve()
S
73 2 5
human_time_diff()
S
59 1 15
comment_subscription()
S
67 2 7
question_subscription()
S
73 2 5
answer_subscription()
S
72 2 5
after_new_question()
S
79 1 3
sanitize_description()
S
76 1 4
after_new_answer()
S
75 1 4
add_ap_tables()
S
81 1 3
update_user_vote_casted_count()
S
71 1 5
unpublish_comment()
S
71 1 5
widget_comments_args()
S
76 1 4