Code Analysis: BMLT Workflow 1.0.7

Function Rating Maintainability Complexity Lines of code
bmltwf\REST\Handlers\SubmissionsHandler::meeting_update_form_handler_rest()
D
11
72 338
bmltwf\REST\Handlers\SubmissionsHandler::approve_submission_handler()
D
20
45 222
bmltwf\REST\Handlers\SubmissionsHandler::submission_format()
C
35 25 80
bmltwf\REST\Handlers\ServiceBodiesHandler::get_service_bodies_handler()
B
35 22 81
bmltwf_plugin::bmltwf_register_setting()
A
27
2 251
bmltwf_plugin::bmltwf_admin_scripts()
A
37 11 69
bmltwf\REST\Controller::register_routes()
A
32 3 154
bmltwf\BMLTWF_Database::bmltwf_db_upgrade()
A
39 6 82
bmltwf\REST\Handlers\ServiceBodiesHandler::post_service_bodies_handler()
A
46 9 37
bmltwf\BMLT\Integration::geolocateAddress()
A
48 9 31
bmltwf\REST\Handlers\OptionsHandler::post_bmltwf_restore_handler()
A
45 8 42
bmltwf\REST\Handlers\SubmissionsHandler::patch_submission_handler()
A
42 7 50
bmltwf\REST\Handlers\SubmissionsHandler::reject_submission_handler()
A
43 7 47
bmltwf\BMLT\Integration::authenticateRootServer()
A
47 7 38
bmltwf_plugin::bmltwf_meeting_update_form()
S
41 5 52
bmltwf_plugin::bmltwf_menu_pages()
S
45 5 50
bmltwf\BMLT\Integration::postsemantic()
S
53 6 21
bmltwf_plugin::bmltwf_install()
S
50 5 27
bmltwf\BMLT\Integration::retrieve_single_meeting()
S
52 5 25
bmltwf\REST\Handlers\BMLTServerHandler::check_bmltserver_parameters()
S
59 5 15
bmltwf\REST\Handlers\BMLTServerHandler::patch_bmltserver_handler()
S
51 4 27
bmltwf_plugin::bmltwf_fso_options_html()
S
47 3 41
bmltwf_plugin::do_optional_field()
S
53 4 22
bmltwf\REST\Handlers\SubmissionsHandler::do_geolocate()
S
54 4 20
bmltwf\REST\Handlers\ServiceBodiesHandler::delete_service_bodies_handler()
S
55 4 19
bmltwf_plugin::bmltwf_optional_location_province_sanitize_callback()
S
58 4 16
bmltwf\REST\Handlers\OptionsHandler::post_bmltwf_backup_handler()
S
49 3 30
bmltwf\REST\Handlers\SubmissionsHandler::submission_type_to_friendlyname()
S
61 4 14
bmltwf_plugin::bmltwf_optional_location_nation_sanitize_callback()
S
61 4 13
bmltwf_plugin::bmltwf_optional_postcode_sanitize_callback()
S
61 4 13
bmltwf_plugin::bmltwf_optional_location_sub_province_sanitize_callback()
S
63 4 11
bmltwf\REST\Handlers\BMLTServerHandler::post_bmltserver_handler()
S
52 3 24
bmltwf\BMLT\Integration::testServerAndAuth()
S
54 3 20
bmltwf_plugin::do_required_field()
S
57 3 17
bmltwf\BMLT\Integration::getMeetingFormats()
S
56 3 17
bmltwf_uninstaller()
S
57 3 17
bmltwf\REST\Handlers\BMLTServerHandler::get_bmltserver_geolocate_handler()
S
58 3 15
bmltwf\REST\Controller::delete_submission_permissions_check()
S
59 3 14
bmltwf\REST\Handlers\ServiceBodiesHandler::__construct()
S
61 3 14
bmltwf\REST\Handlers\BMLTServerHandler::__construct()
S
62 3 13
bmltwf\BMLT\Integration::post()
S
60 3 13
bmltwf_plugin::bmltwf_fso_feature_sanitize_callback()
S
62 3 12
bmltwf\BMLT\Integration::getMeetingCounties()
S
60 3 12
bmltwf\BMLT\Integration::getMeetingStates()
S
60 3 12
bmltwf\BMLT\Integration::get()
S
62 3 12
bmltwf\BMLT\Integration::set_args()
S
63 3 11
bmltwf\REST\Controller::__construct()
S
56 2 19
bmltwf_plugin::bmltwf_trusted_servants_can_delete_submissions_html()
S
58 2 17
bmltwf_plugin::bmltwf_delete_closed_meetings_html()
S
58 2 16
bmltwf\BMLT\Integration::__construct()
S
65 3 10
bmltwf_plugin::bmltwf_required_meeting_formats_sanitize_callback()
S
64 3 10
bmltwf_plugin::bmltwf_delete_closed_meetings_sanitize_callback()
S
64 3 10
bmltwf_plugin::bmltwf_trusted_servants_can_delete_submissions_sanitize_callback()
S
64 3 10
bmltwf\BMLT\Integration::postAuthenticatedRootServerRequest()
S
63 3 10
bmltwf\BMLT\Integration::postAuthenticatedRootServerRequestSemantic()
S
63 3 10
bmltwf\REST\Handlers\SubmissionsHandler::get_submission_id_with_permission_check()
S
59 2 13
bmltwf\BMLTWF_WP_Options::__construct()
S
53 1 27
bmltwf\REST\HandlerCore::bmltwf_rest_success()
S
63 2 11
bmltwf\BMLT\Integration::bmltwf_rest_success()
S
63 2 11
bmltwf\REST\Handlers\SubmissionsHandler::get_emails_by_servicebody_id()
S
61 2 11
bmltwf\REST\Handlers\SubmissionsHandler::get_submissions_handler()
S
61 2 11
bmltwf\BMLTWF_WP_Options::secrets_encrypt()
S
55 1 21
bmltwf_plugin::bmltwf_add_default_options()
S
56 1 17
bmltwf_plugin::__construct()
S
56 1 16
bmltwf\REST\Handlers\SubmissionsHandler::__construct()
S
64 2 10
bmltwf\REST\Controller::get_bmltserver_permissions_check()
S
67 2 7
debug_log()
S
69 2 6
bmltwf\REST\Controller::authorization_status_code()
S
70 2 7
bmltwf\REST\Controller::get_submissions_permissions_check()
S
67 2 7
bmltwf\REST\Controller::get_submission_permissions_check()
S
67 2 7
bmltwf\REST\Controller::approve_submission_action_permissions_check()
S
67 2 7
bmltwf\REST\Controller::reject_submission_action_permissions_check()
S
67 2 7
bmltwf\REST\Controller::patch_submission_permissions_check()
S
67 2 7
bmltwf\REST\Controller::post_service_bodies_permissions_check()
S
67 2 7
bmltwf\REST\Controller::delete_service_bodies_permissions_check()
S
67 2 7
bmltwf\REST\Controller::get_bmltserver_geolocate_permissions_check()
S
67 2 7
bmltwf\REST\Controller::post_bmltwf_restore_permissions_check()
S
67 2 7
bmltwf_plugin::bmltwf_add_capability_to_manage_options_user()
S
70 2 6
bmltwf_plugin::bmltwf_add_plugin_link()
S
66 2 7
bmltwf\BMLT\Integration::getGmapsKey()
S
63 2 10
bmltwf\BMLT\Integration::postUnauthenticatedRootServerRequest()
S
67 2 7
bmltwf\REST\Controller::post_bmltserver_permissions_check()
S
67 2 7
bmltwf\REST\Controller::patch_bmltserver_permissions_check()
S
67 2 7
bmltwf_plugin::bmltwf_email_from_address_sanitize_callback()
S
65 2 9
bmltwf\REST\Controller::post_bmltwf_backup_permissions_check()
S
67 2 7
bmltwf_plugin::bmltwf_fso_email_address_sanitize_callback()
S
65 2 9
bmltwf\REST\HandlerCore::__construct()
S
66 2 10
bmltwf_plugin::bmltwf_optional_form_fields_html()
S
61 1 13
bmltwf_plugin::bmltwf_submitter_email_template_html()
S
62 1 11
bmltwf\BMLTWF_WP_Options::secrets_decrypt()
S
62 1 11
bmltwf_plugin::bmltwf_textstring_sanitize_callback()
S
80 1 3
bmltwf\REST\Controller::get_submission()
S
76 1 4
bmltwf_plugin::bmltwf_add_capability()
S
79 1 3
bmltwf_plugin::display_bmltwf_admin_service_bodies_page()
S
81 1 3
bmltwf_plugin::bmltwf_rest_controller()
S
82 1 3
bmltwf\REST\Controller::patch_submission()
S
76 1 4
bmltwf\REST\HandlerCore::bmltwf_rest_error_with_data()
S
74 1 4
bmltwf\REST\Controller::get_submissions()
S
76 1 4
bmltwf_plugin::bmltwf_backup_restore_html()
S
67 1 9
bmltwf_plugin::prevent_cache_register_script()
S
77 1 3
bmltwf_plugin::bmltwf_bmlt_server_address_html()
S
67 1 9
bmltwf_plugin::display_bmltwf_admin_options_page()
S
81 1 3
bmltwf\REST\HandlerCore::bmltwf_rest_error()
S
78 1 3
bmltwf_plugin::enqueue_jquery_dialog()
S
77 1 4
bmltwf\REST\Controller::post_submissions_permissions_check()
S
82 1 3
bmltwf_plugin::bmltwf_shortcode_html()
S
73 1 6
bmltwf\BMLT\Integration::bmltwf_rest_error()
S
78 1 3
bmltwf\REST\Controller::get_service_bodies()
S
76 1 4
bmltwf\REST\Controller::approve_submission()
S
76 1 4
bmltwf_plugin::bmltwf_enqueue_form_deps()
S
63 1 9
bmltwf\BMLT\Integration::bmltwf_rest_error_with_data()
S
74 1 4
bmltwf\BMLTWF_Rest::__construct()
S
69 1 7
bmltwf_plugin::bmltwf_email_from_address_html()
S
66 1 9
bmltwf_plugin::prevent_cache_enqueue_style()
S
76 1 3
bmltwf\REST\Handlers\SubmissionsHandler::delete_submission_handler()
S
69 1 6
bmltwf\REST\Controller::get_bmltserver()
S
76 1 4
bmltwf\REST\Controller::post_bmltwf_backup()
S
76 1 4
bmltwf\REST\Handlers\SubmissionsHandler::get_submission_handler()
S
69 1 6
bmltwf\REST\Handlers\OptionsHandler::__construct()
S
73 1 5
bmltwf\REST\Handlers\BMLTServerHandler::get_bmltserver_handler()
S
70 1 6
bmltwf_plugin::display_bmltwf_admin_submissions_page()
S
81 1 3
bmltwf_plugin::prevent_cache_enqueue_script()
S
76 1 3
bmltwf\REST\Controller::post_bmltserver()
S
76 1 4
bmltwf\BMLTWF_Database::bmltwf_drop_tables()
S
64 1 10
bmltwf\REST\Controller::get_bmltserver_geolocate()
S
76 1 4
bmltwf\REST\Controller::get_service_bodies_permissions_check()
S
82 1 3
bmltwf\REST\Controller::delete_submission()
S
76 1 4
bmltwf\REST\Controller::post_service_bodies()
S
76 1 4
bmltwf\REST\Handlers\SubmissionsHandler::invalid_form_field()
S
78 1 3
bmltwf\REST\Controller::patch_bmltserver()
S
76 1 4
bmltwf\REST\Controller::delete_service_bodies()
S
76 1 4
bmltwf_plugin::register_select2()
S
73 1 4
bmltwf\BMLTWF_Database::__construct()
S
68 1 7
bmltwf\REST\Controller::reject_submission()
S
76 1 4
bmltwf_plugin::enqueue_select2()
S
77 1 4
bmltwf\REST\Controller::post_submissions()
S
76 1 4
bmltwf_plugin::prevent_cache_register_style()
S
76 1 3
bmltwf\REST\Controller::post_bmltwf_restore()
S
76 1 4