wpForoPost D

Total Complexity 603
Dependencies 1
Dependents 1
Total lines 2,113
Lines of code 1,604
Logical lines of code 1,086
Comment lines 291
Methods 68
Properties 4

Methods 68

Method Rating Maintainability Complexity Lines of code
add()
D
25
57 117
edit()
D
31 40 91
get_posts()
D
30 36 102
search()
D
30 35 93
get_thread_tree()
C
39 29 53
delete()
C
34 27 77
get_post_url()
C
37 24 67
get_post_fields()
B
38 21 57
get_posts_conditions()
B
43 21 38
access()
B
48 21 29
last_post()
B
40 19 48
get_topic_fields()
B
42 18 46
get_unread_posts()
B
43 17 47
get_posts_filtered()
A
52 17 21
get_post()
A
52 15 20
replies()
A
49 10 29
get_comment_fields()
A
52 10 21
get_reply_fields()
A
52 10 21
delete_attachments()
A
52 9 22
get_liked_posts()
A
47 8 34
fields_structure_full_array()
A
56 8 18
get_search_fields()
S
55 7 17
init_fields()
S
38 2 89
status()
S
50 6 28
print_custom_fields()
S
52 6 24
get_parents()
S
54 6 20
get_forumslug_byid()
S
57 6 15
get_topicslug_byid()
S
58 6 15
init_defaults()
S
44 3 47
get_root()
S
62 6 10
get_children()
S
59 5 13
parents()
S
61 5 12
children()
S
62 5 11
build_thread_data()
S
58 4 15
get_count()
S
63 5 9
build_thread_tree()
S
61 4 13
get_reply_fields_list()
S
62 4 12
get_comment_fields_list()
S
62 4 12
get_post_fields_list()
S
61 4 12
get_topic_fields_list()
S
61 4 12
get_fields()
S
68 4 6
access_filter()
S
66 4 8
get_option_items_per_page()
S
60 3 14
get_root_replies_count()
S
68 3 7
get_topic_fields_structure()
S
64 3 9
get_post_fields_structure()
S
64 3 9
next_post()
S
70 3 5
is_field()
S
77 3 3
get_comment_fields_structure()
S
64 3 9
get_reply_fields_structure()
S
64 3 9
get_field()
S
66 3 9
fix_field()
S
71 2 5
get_field_key()
S
78 2 3
root()
S
70 2 6
is_approved()
S
71 2 5
get_cache()
S
78 2 3
get_post_votes_sum()
S
68 2 7
is_liked()
S
66 2 8
get_option_union_first_post()
S
71 1 5
get_post_likes_count()
S
78 1 3
get_attachment_id()
S
74 1 4
unapproved_count()
S
79 1 3
init_hooks()
S
78 1 3
is_answered()
S
66 1 10
init_options()
S
79 1 3
get_likers_usernames()
S
76 1 3
reset()
S
76 1 3
__construct()
S
76 1 5