Code Analysis: FastComments 3.3

Function Rating Maintainability Complexity Lines of code
FastCommentsWordPressIntegration::handleEvents()
A
41 14 58
FastCommentsIntegrationCore::commandSendComments()
A
40 10 62
FastCommentsIntegrationCore::integrationStatePollNext()
A
50 9 27
FastCommentsIntegrationCore::commandFetchEvents()
S
51 7 24
fc_render_admin_index()
S
49 4 34
FastCommentsWordPressIntegration::wp_to_fc_comment()
S
49 4 29
FastCommentsWordPressIntegration::makeHTTPRequest()
S
50 4 29
fc_construct_admin_bar()
S
44 2 56
FastCommentsWordPressIntegration::fc_to_wp_comment()
S
54 4 19
FastCommentsPublic::handle_get_config_status_request()
S
62 5 10
FastCommentsIntegrationCore::integrationStateValidateToken()
S
58 4 14
FastCommentsWordPressIntegration::log()
S
62 4 13
FastCommentsIntegrationCore::log()
S
61 4 13
FastCommentsIntegrationCore::getConfig()
S
60 4 12
FastCommentsPublic::get_config_for_post()
S
61 4 11
FastCommentsWordPressIntegration::getComments()
S
54 3 21
FastCommentsPublic::handle_set_sso_enabled_request()
S
59 3 14
FastCommentsIntegrationCore::integrationStateInitial()
S
62 3 13
FastCommentsIntegrationCore::enableSSO()
S
60 3 12
fc_plugin_action_links()
S
62 3 11
FastCommentsPublic::getSSOConfig()
S
54 2 21
FastCommentsIntegrationCore::getSSOConfig()
S
55 2 20
FastCommentsWordPressIntegration::ensure_plugin_dependencies()
S
58 2 16
fc_contruct_admin_menu()
S
61 2 15
FastCommentsIntegrationCore::__construct()
S
64 3 10
FastCommentsWordPressIntegration::addCommentIDMapEntry()
S
60 2 14
FastCommentsWordPressIntegration::getWPCommentId()
S
61 2 14
FastCommentsWordPressIntegration::getCurrentUser()
S
61 2 12
FastCommentsPublic::setup_api_listeners()
S
54 1 25
FastCommentsWordPressIntegration::update()
S
69 2 7
FastCommentsIntegrationCore::tick()
S
68 2 7
fc_comments_template()
S
68 2 7
FastCommentsWordPressIntegration::getCommentCount()
S
75 2 4
FastCommentsWordPressIntegration::deactivate()
S
58 1 15
FastCommentsIntegrationCore::getDomain()
S
100 1 0
fastcomments_update()
S
73 1 5
FastCommentsIntegrationCore::base64Encode()
S
80 1 3
FastCommentsWordPressIntegration::activate()
S
71 1 6
FastCommentsIntegrationCore::handleEvents()
S
100 1 0
fastcomments_deactivate()
S
73 1 5
FastCommentsPublic::handle_tick_request()
S
69 1 6
FastCommentsIntegrationCore::getComments()
S
100 1 0
FastCommentsWordPressIntegration::getSettingValue()
S
80 1 3
fc_render_admin_support()
S
80 1 3
fastcomments_cron()
S
73 1 5
FastCommentsIntegrationCore::disableSSO()
S
76 1 4
FastCommentsIntegrationCore::setSetupDone()
S
75 1 4
FastCommentsWordPressIntegration::getLogoutURL()
S
81 1 3
FastCommentsIntegrationCore::deactivate()
S
100 1 0
FastCommentsIntegrationCore::setSettingValue()
S
100 1 0
FastCommentsIntegrationCore::createUUID()
S
100 1 0
FastCommentsIntegrationCore::getCurrentUser()
S
100 1 0
FastCommentsWordPressIntegration::__construct()
S
80 1 3
FastCommentsIntegrationCore::getLogoutURL()
S
100 1 0
FastCommentsWordPressIntegration::setSettingValue()
S
80 1 3
FastCommentsIntegrationCore::getSettingValue()
S
100 1 0
FastCommentsWordPressIntegration::getDomain()
S
81 1 3
FastCommentsIntegrationCore::getLoginURL()
S
100 1 0
FastCommentsIntegrationCore::makeHTTPRequest()
S
100 1 0
FastCommentsWordPressIntegration::getLoginURL()
S
81 1 3
FastCommentsIntegrationCore::activate()
S
100 1 0
FastCommentsIntegrationCore::integrationStateCreateToken()
S
73 1 5
FastCommentsWordPressIntegration::createUUID()
S
81 1 3
FastCommentsIntegrationCore::getCommentCount()
S
100 1 0
fastcomments_activate()
S
73 1 5