Code Analysis: BMLT Workflow 1.1.19

Function Rating Maintainability Complexity Lines of code
bmltwf\REST\Handlers\SubmissionsHandler::meeting_update_form_handler_rest()
D
6
90 412
bmltwf\REST\Handlers\SubmissionsHandler::approve_submission_handler()
D
18
50 246
bmltwf\REST\Handlers\SubmissionsHandler::submission_format()
C
35 25 80
bmltwf_plugin::bmltwf_register_setting()
B
24
2 294
bmltwf\REST\Handlers\ServiceBodiesHandler::get_service_bodies_handler()
B
38 15 68
bmltwf_plugin::bmltwf_admin_scripts()
B
33 13 96
bmltwf\BMLT\Integration::createMeetingv2()
A
41 11 60
bmltwf\BMLT\Integration::getServiceBodiesv2()
A
44 12 42
bmltwf\REST\Controller::register_routes()
A
32 3 154
bmltwf\BMLT\Integration::geolocateAddress()
A
46 11 34
bmltwf\REST\Handlers\OptionsHandler::post_bmltwf_restore_handler()
A
42 9 52
bmltwf\BMLT\Integration::convertv2meetingtov3()
A
43 9 48
bmltwf\REST\Handlers\BMLTServerHandler::post_bmltserver_handler()
A
42 8 60
bmltwf\BMLT\Integration::getMeetingFormatsv3()
A
45 9 40
bmltwf\BMLTWF_Database::bmltwf_db_upgrade()
A
39 6 82
bmltwf\REST\Handlers\SubmissionsHandler::patch_submission_handler()
A
41 7 57
bmltwf_plugin::bmltwf_menu_pages()
A
45 7 49
bmltwf\REST\Handlers\SubmissionsHandler::reject_submission_handler()
A
43 7 47
bmltwf_plugin::bmltwf_meeting_update_form()
A
41 6 55
bmltwf\BMLT\Integration::convertv3meetingtov2()
A
48 7 35
bmltwf\BMLT\Integration::post()
A
48 7 33
bmltwf\BMLT\Integration::isAutoGeocodingEnabledv2()
S
50 7 28
bmltwf\REST\Handlers\ServiceBodiesHandler::post_service_bodies_handler()
S
50 7 27
bmltwf\BMLT\Integration::isAutoGeocodingEnabledv3()
S
52 7 23
bmltwf\BMLT\Integration::postsemantic()
S
53 7 22
bmltwf\BMLT\Integration::updateMeetingv3()
S
48 6 31
bmltwf\BMLT\Integration::getServiceBodiesv3()
S
51 6 25
bmltwf\BMLT\Integration::createMeetingv3()
S
46 5 38
bmltwf\BMLT\Integration::deleteMeetingv2()
S
53 6 21
bmltwf\BMLT\Integration::__construct()
S
55 6 20
bmltwf_plugin::bmltwf_auto_geocoding_enabled_html()
S
47 4 44
bmltwf\BMLT\Integration::authenticateRootServerv2()
S
50 5 28
bmltwf_plugin::bmltwf_install()
S
50 5 27
bmltwf\BMLT\Integration::isAutoGeocodingEnabled()
S
61 6 12
bmltwf_plugin::bmltwf_fso_options_html()
S
43 3 54
bmltwf\BMLT\Integration::updateMeetingv2()
S
53 5 20
bmltwf\BMLT\Integration::getServiceBodiesPermissionv2()
S
55 5 19
bmltwf\BMLT\Integration::set_args()
S
56 5 19
bmltwf\BMLT\Integration::getGmapsKey()
S
51 4 26
bmltwf\BMLT\Integration::getDefaultLatLong()
S
60 5 11
bmltwf\BMLT\Integration::authenticateRootServerv3()
S
52 4 24
bmltwf\BMLT\Integration::retrieve_single_meeting()
S
52 4 23
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\BMLT\Integration::getMeetingFormatsv2()
S
55 4 18
bmltwf\BMLT\Integration::deleteMeetingv3()
S
56 4 17
bmltwf\BMLT\Integration::decodeBMLTPassword()
S
57 4 17
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\BMLTServerHandler::patch_bmltserver_handler()
S
50 3 29
bmltwf\REST\Handlers\SubmissionsHandler::submission_type_to_friendlyname()
S
60 4 14
bmltwf\BMLT\Integration::getMeetingCounties()
S
59 4 12
bmltwf\BMLT\Integration::getMeetingStates()
S
59 4 12
bmltwf_plugin::bmltwf_optional_postcode_sanitize_callback()
S
62 4 11
bmltwf_plugin::bmltwf_optional_location_nation_sanitize_callback()
S
62 4 11
bmltwf_plugin::bmltwf_optional_location_sub_province_sanitize_callback()
S
62 4 11
bmltwf\BMLT\Integration::bmltwf_get_remote_server_version()
S
55 3 19
bmltwf\BMLT\Integration::testServerAndAuthv2()
S
55 3 19
bmltwf\REST\Handlers\SubmissionsHandler::get_submission_id_with_permission_check()
S
55 3 18
bmltwf\REST\Handlers\SubmissionsHandler::get_submissions_handler()
S
55 3 18
bmltwf_plugin::do_required_field()
S
57 3 17
bmltwf_uninstaller()
S
57 3 17
bmltwf\BMLT\Integration::getv2()
S
59 3 15
bmltwf\REST\Controller::delete_submission_permissions_check()
S
58 3 14
bmltwf\REST\Handlers\BMLTServerHandler::get_bmltserver_geolocate_handler()
S
60 3 13
bmltwf\BMLT\Integration::getv3()
S
61 3 12
bmltwf\BMLT\Integration::removeLocations()
S
62 3 11
bmltwf_plugin::bmltwf_trusted_servants_can_delete_submissions_html()
S
53 2 25
bmltwf_plugin::bmltwf_remove_virtual_meeting_details_on_venue_change_html()
S
52 2 25
bmltwf_plugin::bmltwf_google_maps_key_html()
S
53 2 24
bmltwf_plugin::bmltwf_delete_closed_meetings_html()
S
54 2 21
bmltwf\BMLT\Integration::testServerAndAuthv3()
S
58 2 15
bmltwf\REST\Controller::get_submission_permissions_check()
S
66 3 7
bmltwf\BMLT\Integration::is_v3_token_valid()
S
69 3 7
bmltwf\REST\Controller::approve_submission_action_permissions_check()
S
66 3 7
bmltwf_plugin::bmltwf_fso_feature_sanitize_callback()
S
64 3 10
bmltwf_plugin::bmltwf_google_maps_key_sanitize_callback()
S
65 3 8
bmltwf\BMLT\Integration::postAuthenticatedRootServerRequest()
S
63 3 10
bmltwf\BMLT\Integration::postAuthenticatedRootServerRequestSemantic()
S
63 3 10
bmltwf\BMLT\Integration::is_valid_bmlt_server()
S
67 3 7
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\REST\Controller::get_submissions_permissions_check()
S
66 3 7
bmltwf_plugin::bmltwf_remove_virtual_meeting_details_on_venue_change_sanitize_callback()
S
64 3 10
bmltwf\REST\Controller::reject_submission_action_permissions_check()
S
66 3 7
bmltwf\REST\Controller::patch_submission_permissions_check()
S
66 3 7
bmltwf\REST\Controller::get_bmltserver_geolocate_permissions_check()
S
66 3 7
bmltwf\BMLT\Integration::bmltwf_integration_success()
S
63 2 11
bmltwf\REST\Handlers\SubmissionsHandler::get_emails_by_servicebody_id()
S
61 2 11
bmltwf_plugin::bmltwf_bmlt_server_address_html()
S
54 1 24
bmltwf_plugin::bmltwf_optional_form_fields_html()
S
54 1 22
bmltwf\REST\Handlers\BMLTServerHandler::secrets_encrypt()
S
55 1 21
bmltwf_plugin::bmltwf_add_default_options()
S
56 1 17
bmltwf_plugin::__construct()
S
56 1 16
bmltwf\BMLT\Integration::createMeeting()
S
70 2 7
bmltwf\BMLT\Integration::deleteMeeting()
S
70 2 7
bmltwf\BMLT\Integration::wp_locale_to_bmlt_locale()
S
67 2 8
bmltwf\REST\Controller::authorization_status_code()
S
70 2 7
bmltwf\BMLT\Integration::is_supported_server()
S
64 2 10
debug_log()
S
69 2 6
bmltwf\BMLT\Integration::is_v3_server()
S
67 2 8
bmltwf\REST\Handlers\SubmissionsHandler::populate_formats()
S
74 2 5
bmltwf_plugin::bmltwf_fso_email_address_sanitize_callback()
S
65 2 9
bmltwf\BMLT\Integration::updateMeeting()
S
70 2 7
bmltwf\REST\Controller::post_bmltwf_restore_permissions_check()
S
67 2 7
bmltwf\BMLT\Integration::getMeetingFormats()
S
70 2 7
bmltwf\BMLT\Integration::get()
S
69 2 7
bmltwf\REST\Controller::get_bmltserver_permissions_check()
S
67 2 7
bmltwf\BMLT\Integration::testServerAndAuth()
S
65 2 9
bmltwf\REST\Controller::post_service_bodies_permissions_check()
S
67 2 7
bmltwf\BMLT\Integration::getServiceBodies()
S
70 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\REST\Controller::delete_service_bodies_permissions_check()
S
67 2 7
bmltwf\BMLT\Integration::authenticateRootServer()
S
70 2 7
bmltwf_plugin::bmltwf_add_capability_to_manage_options_user()
S
70 2 6
bmltwf\REST\Handlers\SubmissionsHandler::__construct()
S
68 2 8
bmltwf\REST\Controller::patch_bmltserver_permissions_check()
S
67 2 7
bmltwf\BMLT\Integration::postUnauthenticatedRootServerRequest()
S
67 2 7
bmltwf\REST\Controller::__construct()
S
66 2 9
bmltwf_plugin::bmltwf_add_plugin_link()
S
66 2 7
bmltwf\REST\Handlers\BMLTServerHandler::__construct()
S
70 2 7
bmltwf\REST\Handlers\ServiceBodiesHandler::__construct()
S
68 2 8
bmltwf\REST\Controller::post_bmltserver_permissions_check()
S
67 2 7
bmltwf_plugin::bmltwf_submitter_email_template_html()
S
59 1 14
bmltwf_plugin::bmltwf_backup_restore_html()
S
62 1 12
bmltwf\BMLT\Integration::secrets_decrypt()
S
62 1 11
bmltwf\REST\Controller::patch_bmltserver()
S
76 1 4
bmltwf\REST\Controller::delete_submission()
S
76 1 4
bmltwf\REST\Controller::get_service_bodies_permissions_check()
S
82 1 3
bmltwf_plugin::bmltwf_load_textdomain()
S
77 1 3
bmltwf\REST\Handlers\SubmissionsHandler::invalid_form_field()
S
76 1 3
bmltwf\REST\Controller::get_submissions()
S
76 1 4
bmltwf\REST\Controller::post_service_bodies()
S
76 1 4
bmltwf_plugin::display_bmltwf_admin_options_page()
S
81 1 3
bmltwf_plugin::bmltwf_shortcode_html()
S
69 1 7
bmltwf_plugin::enqueue_select2()
S
77 1 4
bmltwf_plugin::prevent_cache_enqueue_style()
S
76 1 3
bmltwf\REST\Handlers\BMLTServerHandler::get_bmltserver_handler()
S
68 1 7
bmltwf_plugin::prevent_cache_enqueue_script()
S
76 1 3
bmltwf_plugin::bmltwf_email_from_address_html()
S
64 1 10
bmltwf_plugin::prevent_cache_register_style()
S
76 1 3
bmltwf_plugin::prevent_cache_register_script()
S
77 1 3
bmltwf\REST\Controller::patch_submission()
S
76 1 4
bmltwf\BMLTWF_Database::bmltwf_drop_tables()
S
64 1 10
bmltwf\REST\Controller::get_service_bodies()
S
76 1 4
bmltwf\BMLTWF_Database::__construct()
S
70 1 6
bmltwf_plugin::bmltwf_rest_controller()
S
82 1 3
bmltwf\REST\Handlers\SubmissionsHandler::get_submission_handler()
S
69 1 6
bmltwf\REST\Controller::post_submissions()
S
76 1 4
bmltwf\REST\Handlers\SubmissionsHandler::delete_submission_handler()
S
68 1 6
bmltwf\REST\Handlers\OptionsHandler::__construct()
S
76 1 4
bmltwf\REST\Controller::post_bmltwf_backup()
S
76 1 4
bmltwf_plugin::register_select2()
S
73 1 4
bmltwf_plugin::enqueue_jquery_dialog()
S
77 1 4
bmltwf\BMLT\Integration::bmltwf_integration_error_with_data()
S
74 1 4
bmltwf\REST\Controller::approve_submission()
S
76 1 4
bmltwf\REST\Controller::post_submissions_permissions_check()
S
82 1 3
bmltwf_plugin::bmltwf_enqueue_form_deps()
S
63 1 9
bmltwf_plugin::bmltwf_add_capability()
S
79 1 3
bmltwf\BMLT\Integration::update_root_server_version()
S
72 1 5
bmltwf\REST\Controller::post_bmltserver()
S
76 1 4
bmltwf\BMLT\Integration::bmltwf_integration_error()
S
78 1 3
bmltwf\REST\Controller::post_bmltwf_restore()
S
76 1 4
bmltwf_plugin::display_bmltwf_admin_submissions_page()
S
81 1 3
bmltwf\REST\Controller::get_bmltserver()
S
76 1 4
bmltwf\REST\Controller::delete_service_bodies()
S
76 1 4
bmltwf_plugin::display_bmltwf_admin_service_bodies_page()
S
81 1 3
bmltwf_plugin::bmltwf_textstring_sanitize_callback()
S
80 1 3
bmltwf\REST\Controller::get_bmltserver_geolocate()
S
76 1 4
bmltwf\REST\Controller::get_submission()
S
76 1 4
bmltwf\REST\Controller::reject_submission()
S
76 1 4