WPUF_Frontend_Form D

Total Complexity 270
Dependencies 5
Dependents 2
Total lines 1,192
Lines of code 838
Logical lines of code 527
Comment lines 145
Methods 17
Properties 4

Methods 17

Method Rating Maintainability Complexity Lines of code
submit_post()
D
18
70 179
draft_post()
D
32 31 91
send_mail_for_guest()
C
31 30 99
wpuf_get_post_user()
B
38 24 56
edit_post_shortcode()
B
37 19 64
wpuf_user_subscription_pack()
B
44 19 38
prepare_mail_body()
B
35 15 91
update_post_meta()
B
39 16 62
publish_guest_post()
A
44 10 41
map_capabilities_for_post_authors()
A
52 11 24
get_edit_post_link()
A
57 8 16
make_media_embed_code()
S
58 6 14
woo_attribute()
S
61 3 11
add_post_shortcode()
S
54 2 19
__construct()
S
55 2 18
init()
S
71 2 6
get_frontend_post_edit_link()
S
64 2 9