Woocommerce_Pay_Per_Post_Admin B

Total Complexity 95
Dependencies 7
Dependents 1
Total lines 683
Lines of code 548
Logical lines of code 269
Comment lines 23
Methods 34
Properties 2

Methods 34

Method Rating Maintainability Complexity Lines of code
save_meta_box()
A
49 9 31
is_protected()
A
47 8 38
enqueue_wp_editor_integration_scripts()
A
40 6 57
create_protected_content_page()
A
48 7 31
create_options_page()
S
49 6 28
create_whatsnew_page()
S
51 5 24
add_plugin_options()
S
43 2 62
create_debug_page()
S
59 5 13
output_meta_box()
S
47 3 33
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
edit_post_block_editor()
S
61 3 11
manage_custom_column()
S
66 3 8
get_post_products_custom_field()
S
65 3 8
admin_menu_separator_styles()
S
66 1 29
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
options_init()
S
60 1 13
__construct()
S
91 1 2
wp_editor_integration_register_post_meta()
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