Tribe__Events__Linked_Posts D

Total Complexity 149
Dependencies 6
Dependents 17
Total lines 1,480
Lines of code 681
Logical lines of code 377
Comment lines 587
Methods 34
Properties 4

Methods 34

Method Rating Maintainability Complexity Lines of code
saved_linked_post_dropdown()
C
29
23 137
handle_submission_by_post_type()
B
36 22 76
get_create_or_find_labels()
A
38 13 78
get_linked_post_info()
A
44 8 46
maybe_reorder_linked_posts_ids()
A
48 8 34
link_post()
A
49 8 33
get_linked_post_type_data()
S
51 7 28
maybe_get_new_order_from_blocks()
S
54 6 19
render_select_option()
S
55 5 21
handle_submission()
S
59 4 13
has_linked_posts()
S
52 3 25
register_linked_post_type()
S
56 3 19
unlink_post()
S
57 3 18
get_linked_posts()
S
59 3 14
get_post_type_container_data()
S
61 3 13
get_linked_post_ids_by_post_type()
S
62 3 11
get_meta_key()
S
66 3 9
render_meta_box_sections()
S
67 2 7
order_linked_posts()
S
66 2 8
instance()
S
72 2 6
deregister_linked_post_type()
S
69 2 7
__construct()
S
67 2 7
get_order_meta_key()
S
68 2 7
register_default_linked_post_types()
S
65 2 10
is_linked_post_type()
S
79 1 3
allow_multiple()
S
78 1 3
get_linked_post_types()
S
81 1 3
get_linked_posts_by_post_type()
S
71 1 5
has_linked_posts_by_post_type()
S
70 1 6
get_post_type_name_field_index()
S
79 1 3
get_post_type_id_field_index()
S
79 1 3
get_post_type_container()
S
78 1 3
enqueue_scripts()
S
79 1 3
has_linked_post_types()
S
80 1 3