CUAR_AbstractEditContentPageAddOn D

Total Complexity 192
Dependencies 2
Dependents 0
Total lines 1,240
Lines of code 804
Logical lines of code 369
Comment lines 143
Methods 68
Properties 12

Methods 68

Method Rating Maintainability Complexity Lines of code
handle_form_submission()
B
40 18 57
ajax_is_user_allowed_to_create_or_update_content()
A
52 15 21
ajax_delete_image()
A
41 11 54
get_current_post_id()
A
45 10 47
print_form_header()
A
45 10 42
ajax_insert_image()
A
43 9 45
print_category_field()
S
46 5 41
print_owner_field()
S
50 4 33
print_content_field()
S
50 4 30
check_submitted_file()
S
61 5 12
print_settings()
S
50 3 30
enqueue_scripts()
S
61 4 14
check_submitted_owners()
S
61 4 13
check_submitted_title()
S
61 4 12
check_submitted_content()
S
61 4 12
check_submitted_category()
S
61 4 12
ajax_custom_editor_images_upload_dir()
S
52 3 24
run_addon()
S
56 3 19
get_wizard_step_url()
S
64 4 10
print_title_field()
S
60 3 13
print_page_content()
S
62 3 12
get_current_wizard_step()
S
63 3 12
set_page_parameters()
S
63 3 11
should_print_form()
S
58 2 16
enable_settings()
S
64 3 9
get_current_post()
S
69 3 7
get_configurable_capability_groups()
S
59 2 14
validate_options()
S
65 2 9
get_edit_slug_for_options()
S
69 2 7
get_default_owners()
S
65 2 9
get_required_fields()
S
66 2 9
get_submitted_owners()
S
68 2 8
print_form_field()
S
63 1 11
current_user_can_select_category()
S
75 1 4
current_user_can_select_owner()
S
75 1 4
get_friendly_taxonomy()
S
80 1 3
set_default_options()
S
70 1 6
is_rich_editor_enabled()
S
79 1 3
get_settings_section()
S
78 1 3
get_settings_section_title()
S
100 1 0
get_type()
S
80 1 3
get_action()
S
100 1 0
get_friendly_post_type()
S
80 1 3
print_additional_settings()
S
91 1 2
validate_additional_settings()
S
82 1 3
print_empty_section_info()
S
91 1 2
is_action_authorized()
S
100 1 0
print_add_attachment_method_browser()
S
73 1 5
set_current_post_id()
S
81 1 3
get_wizard_step_count()
S
82 1 3
do_edit_content()
S
82 1 3
get_default_required_fields()
S
82 1 3
is_field_required()
S
75 1 4
get_default_publish_status()
S
82 1 3
enable_wizard_permalinks()
S
74 1 4
insert_wizard_rewrite_rules()
S
65 1 9
insert_wizard_query_vars()
S
73 1 5
get_wizard_steps()
S
82 1 3
get_default_category()
S
79 1 3
set_form_success()
S
67 1 8
print_form_footer()
S
76 1 4
print_submit_button()
S
65 1 9
print_submit_disabled_button()
S
67 1 8
print_file_field()
S
75 1 4
get_redirect_url_after_action()
S
100 1 0
print_attachment_manager_scripts()
S
73 1 5
print_current_attachments_manager()
S
76 1 4
__construct()
S
80 1 3