AnsPress_Hooks C

Total Complexity 124
Dependencies 0
Dependents 0
Total lines 1,068
Lines of code 495
Logical lines of code 284
Comment lines 439
Methods 37
Properties 1

Methods 37

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 82
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
fix_nav_current_class()
S
65 4 9
delete_subscribers()
S
64 4 9
delete_subscriptions()
S
60 3 14
new_comment_approve()
S
66 3 8
new_subscriber()
S
63 3 10
safe_style_css()
S
68 3 7
delete_answer()
S
68 2 7
human_time_diff()
S
59 1 15
delete_subscriber()
S
69 2 6
comment_subscription()
S
67 2 7
answer_subscription()
S
72 2 5
flush_rules()
S
71 2 6
delete_comment_subscriptions()
S
63 2 10
comment_trash()
S
70 2 6
comment_unapprove()
S
73 2 5
comment_approve()
S
73 2 5
question_subscription()
S
73 2 5
after_new_answer()
S
75 1 4
widget_comments_args()
S
76 1 4
update_user_vote_casted_count()
S
71 1 5
after_new_question()
S
79 1 3
add_ap_tables()
S
81 1 3
unpublish_comment()
S
71 1 5
sanitize_description()
S
76 1 4