Woocommerce_Pay_Per_Post_Admin B

Total Complexity 96
Dependencies 7
Dependents 1
Total lines 713
Lines of code 561
Logical lines of code 278
Comment lines 38
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 58
create_options_page()
S
49 6 27
create_protected_content_page()
S
49 5 31
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
check_requirements_for_selected_custom_post_types()
S
58 4 14
sanitize_product_ids()
S
62 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
load_block_editor()
S
65 3 9
manage_custom_column()
S
66 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
admin_init()
S
78 1 4
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
manage_columns()
S
75 1 4
sortable_columns()
S
76 1 4
plugin_settings_link()
S
69 1 6