Comments D

Total Complexity 223
Dependencies 4
Dependents 1
Total lines 1,387
Lines of code 940
Logical lines of code 454
Comment lines 224
Methods 21
Properties 1

Methods 21

Method Rating Maintainability Complexity Lines of code
define_notification_recipients()
D
24
39 175
store_comment_reply()
C
35 24 78
get_comments()
C
30 20 121
store_comment()
B
36 23 70
fetch_comments()
B
38 20 64
trash_comment()
B
40 19 53
toggle_comment_approval_status()
B
45 17 38
filter_allowed_tags()
B
37 13 91
approve_comment()
A
41 11 60
unapprove_comment()
A
41 10 60
define_notification_header()
A
47 9 33
add_item_title_to_notification()
S
55 5 19
remove_comment_type()
S
57 2 19
attach_hooks()
S
55 1 19
filter_comment_notification_text()
S
66 2 8
__construct()
S
67 2 9
filter_comment_notification_headers()
S
70 2 6
is_item_type_valid()
S
74 1 4
is_comment_from_project()
S
72 1 5
replace_email_with_html_link()
S
75 1 4
replace_link_with_html_link()
S
75 1 4