Woocommerce_Pay_Per_Post_Admin B

Total Complexity 80
Dependencies 5
Dependents 1
Total lines 579
Lines of code 448
Logical lines of code 218
Comment lines 31
Methods 31
Properties 2

Methods 31

Method Rating Maintainability Complexity Lines of code
is_protected()
A
47 8 38
create_protected_content_page()
A
48 7 31
create_options_page()
S
49 6 28
save_meta_box()
S
55 6 19
create_whatsnew_page()
S
51 5 24
add_plugin_options()
S
43 2 62
create_debug_page()
S
59 5 13
sanitize_product_ids()
S
61 4 13
meta_box()
S
57 3 18
generate_products_dropdown()
S
57 3 15
upgrade_database()
S
59 3 13
manage_custom_column()
S
66 3 8
get_post_products_custom_field()
S
65 3 8
admin_menu_separator_styles()
S
66 1 29
output_meta_box()
S
51 1 26
ajax_post_types()
S
66 2 9
get_users_by_product_id()
S
64 2 8
prefix_plugin_update_message()
S
72 2 5
admin_notices()
S
65 2 8
enqueue_scripts()
S
61 1 14
enqueue_styles()
S
61 1 14
__construct()
S
91 1 2
options_init()
S
65 1 9
create_help_page()
S
68 1 7
create_getting_started_page()
S
75 1 4
get_post_types()
S
81 1 3
get_all_product_args()
S
82 1 3
get_virtual_product_args()
S
82 1 3
manage_columns()
S
75 1 4
sortable_columns()
S
76 1 4
plugin_settings_link()
S
69 1 6