Code Analysis: FastComments 3.9.1

Function Rating Maintainability Complexity Lines of code
FastCommentsWordPressIntegration::handleEvents()
A
39 14 67
FastCommentsIntegrationCore::commandSendComments()
A
38 13 67
FastCommentsIntegrationCore::integrationStatePollNext()
A
49 9 28
FastCommentsIntegrationCore::commandFetchEvents()
S
51 7 24
fc_render_admin_index()
S
49 4 34
FastCommentsWordPressIntegration::fc_to_wp_comment()
S
54 5 19
FastCommentsWordPressIntegration::makeHTTPRequest()
S
50 4 29
FastCommentsWordPressIntegration::wp_to_fc_comment()
S
49 4 29
FastCommentsIntegrationCore::integrationStateInitial()
S
60 5 14
fc_construct_admin_bar()
S
44 2 56
FastCommentsIntegrationCore::integrationStateValidateToken()
S
57 4 15
FastCommentsPublic::handle_get_config_status_request()
S
62 5 10
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
52 3 23
FastCommentsWordPressIntegration::addCommentIDMapEntry()
S
55 3 20
FastCommentsWordPressIntegration::update()
S
59 3 14
FastCommentsPublic::handle_set_sso_enabled_request()
S
59 3 14
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
55 2 19
FastCommentsIntegrationCore::__construct()
S
64 3 10
fc_contruct_admin_menu()
S
61 2 15
FastCommentsIntegrationCore::canAckLock()
S
63 3 10
FastCommentsWordPressIntegration::getCurrentUser()
S
61 2 12
FastCommentsPublic::setup_api_listeners()
S
54 1 25
FastCommentsWordPressIntegration::deactivate()
S
55 1 20
FastCommentsWordPressIntegration::getWPCommentId()
S
63 2 10
FastCommentsIntegrationCore::tick()
S
65 2 9
FastCommentsWordPressIntegration::getCommentCount()
S
75 2 4
fc_comments_template()
S
68 2 7
FastCommentsIntegrationCore::disableSSO()
S
76 1 4
FastCommentsIntegrationCore::makeHTTPRequest()
S
100 1 0
FastCommentsIntegrationCore::getCurrentUser()
S
100 1 0
fastcomments_update()
S
73 1 5
FastCommentsWordPressIntegration::__construct()
S
80 1 3
FastCommentsIntegrationCore::activate()
S
100 1 0
FastCommentsIntegrationCore::getLockName()
S
80 1 3
fastcomments_deactivate()
S
73 1 5
FastCommentsIntegrationCore::deactivate()
S
100 1 0
FastCommentsIntegrationCore::getCommentCount()
S
100 1 0
FastCommentsIntegrationCore::base64Encode()
S
80 1 3
FastCommentsIntegrationCore::integrationStateCreateToken()
S
73 1 5
FastCommentsIntegrationCore::clearLock()
S
75 1 4
FastCommentsWordPressIntegration::getLoginURL()
S
81 1 3
FastCommentsIntegrationCore::handleEvents()
S
100 1 0
FastCommentsIntegrationCore::getDomain()
S
100 1 0
fastcomments_cron()
S
68 1 7
fastcomments_activate()
S
73 1 5
FastCommentsIntegrationCore::getLoginURL()
S
100 1 0
FastCommentsWordPressIntegration::getDomain()
S
81 1 3
FastCommentsIntegrationCore::setSetupDone()
S
72 1 5
FastCommentsWordPressIntegration::getLogoutURL()
S
81 1 3
FastCommentsWordPressIntegration::createUUID()
S
81 1 3
FastCommentsIntegrationCore::getLogoutURL()
S
100 1 0
fc_render_admin_support()
S
80 1 3
FastCommentsWordPressIntegration::setSettingValue()
S
80 1 3
FastCommentsIntegrationCore::getSettingValue()
S
100 1 0
FastCommentsWordPressIntegration::getSettingValue()
S
80 1 3
FastCommentsWordPressIntegration::activate()
S
82 1 3
FastCommentsPublic::handle_tick_request()
S
69 1 6
FastCommentsIntegrationCore::getComments()
S
100 1 0
FastCommentsIntegrationCore::createUUID()
S
100 1 0
FastCommentsIntegrationCore::setSettingValue()
S
100 1 0