-
Home
-
wpForo Forum
-
1.9.9
-
Code
-
Classes
- wpForoPost
Total Complexity |
581 |
Dependencies |
1 |
Dependents |
1 |
Total lines |
2,195 |
Lines of code |
1,596 |
Logical lines of code |
1,060 |
Comment lines |
390 |
Methods |
66 |
Properties |
4 |
Methods 66
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
add() |
D |
25 |
57 |
117 |
edit() |
D |
30 |
42 |
93 |
get_posts() |
D |
30 |
36 |
102 |
search() |
D |
29 |
36 |
93 |
delete() |
C |
34 |
27 |
77 |
get_thread_tree() |
C |
36 |
27 |
71 |
get_post_fields() |
B |
38 |
21 |
57 |
get_topic_fields() |
B |
40 |
21 |
55 |
get_posts_conditions() |
B |
43 |
21 |
38 |
access() |
B |
48 |
21 |
29 |
last_post() |
B |
40 |
19 |
48 |
get_unread_posts() |
B |
43 |
17 |
47 |
get_posts_filtered() |
A |
52 |
17 |
21 |
get_post() |
A |
52 |
15 |
20 |
get_position_in_topic() |
A |
42 |
12 |
53 |
get_post_url() |
A |
49 |
13 |
26 |
replies() |
A |
49 |
10 |
29 |
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 |
54 |
7 |
18 |
init_fields() |
S |
38 |
2 |
89 |
status() |
S |
50 |
6 |
28 |
print_custom_fields() |
S |
51 |
6 |
25 |
get_parents() |
S |
54 |
6 |
20 |
get_topicslug_byid() |
S |
58 |
6 |
15 |
get_forumslug_byid() |
S |
57 |
6 |
15 |
init_defaults() |
S |
44 |
3 |
49 |
get_root() |
S |
62 |
6 |
10 |
get_children() |
S |
59 |
5 |
13 |
parents() |
S |
61 |
5 |
12 |
children() |
S |
62 |
5 |
11 |
get_best_answer() |
S |
57 |
4 |
16 |
get_count() |
S |
63 |
5 |
9 |
build_thread_data() |
S |
58 |
4 |
15 |
build_thread_tree() |
S |
61 |
4 |
13 |
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_topic_fields_structure() |
S |
64 |
3 |
9 |
is_field() |
S |
77 |
3 |
3 |
get_post_fields_structure() |
S |
64 |
3 |
9 |
get_field() |
S |
65 |
3 |
9 |
next_post() |
S |
70 |
3 |
5 |
get_root_replies_count() |
S |
66 |
3 |
8 |
root() |
S |
70 |
2 |
6 |
is_approved() |
S |
71 |
2 |
5 |
is_liked() |
S |
66 |
2 |
8 |
get_post_votes_sum() |
S |
68 |
2 |
7 |
get_cache() |
S |
78 |
2 |
3 |
get_field_key() |
S |
78 |
2 |
3 |
fix_field() |
S |
71 |
2 |
5 |
reset_fields() |
S |
69 |
2 |
7 |
get_suggested_answers() |
S |
64 |
1 |
10 |
is_answered() |
S |
69 |
1 |
7 |
get_attachment_id() |
S |
74 |
1 |
4 |
init_hooks() |
S |
78 |
1 |
3 |
unapproved_count() |
S |
79 |
1 |
3 |
init_options() |
S |
79 |
1 |
3 |
get_option_union_first_post() |
S |
71 |
1 |
5 |
get_likers_usernames() |
S |
76 |
1 |
3 |
get_post_likes_count() |
S |
78 |
1 |
3 |
reset() |
S |
76 |
1 |
3 |
__construct() |
S |
76 |
1 |
5 |