Code Analysis: FastComments 3.16.0

Function Rating Maintainability Complexity Lines of code
FastCommentsWordPressIntegration::handleEvents()
B
32 21 105
FastCommentsIntegrationCore::commandSendComments()
B
34 17 92
FastCommentsWordPressIntegration::fc_to_wp_comment()
A
44 15 41
fc_render_admin_index()
A
42 9 53
FastCommentsIntegrationCore::integrationStatePollNext()
A
48 10 32
FastCommentsPublic::handle_sync_to_wp_request()
A
47 8 33
FastCommentsWordPressIntegration::wp_to_fc_comment()
A
46 7 36
FastCommentsPublic::getSSOConfig()
A
48 7 31
FastCommentsIntegrationCore::commandFetchEvents()
S
50 7 26
FastCommentsWordPressIntegration::log()
S
55 7 19
FastCommentsIntegrationCore::tryAckLock()
S
53 5 22
fc_construct_admin_bar()
S
42 2 65
FastCommentsPublic::get_config_for_post()
S
55 5 18
FastCommentsIntegrationCore::integrationStateInitial()
S
60 5 14
FastCommentsWordPressIntegration::addCommentIDMapEntry()
S
53 4 22
FastCommentsIntegrationCore::integrationStateValidateToken()
S
57 4 15
FastCommentsPublic::handle_get_config_status_request()
S
62 5 10
FastCommentsPublic::handle_set_sso_enabled_request()
S
58 4 14
FastCommentsIntegrationCore::log()
S
61 4 13
FastCommentsPublic::handle_sync_to_fc_request()
S
58 4 13
FastCommentsWordPressIntegration::ensure_plugin_dependencies()
S
51 3 28
FastCommentsIntegrationCore::getConfig()
S
60 4 12
FastCommentsWordPressIntegration::makeHTTPRequest()
S
55 3 19
FastCommentsWordPressIntegration::getComments()
S
55 3 19
FastCommentsWordPressIntegration::update()
S
59 3 14
FastCommentsIntegrationCore::enableSSO()
S
59 3 13
FastCommentsWordPressIntegration::uninstall()
S
60 3 13
fc_add_comment_count_config()
S
62 3 11
fc_plugin_action_links()
S
62 3 11
FastCommentsPublic::setup_api_listeners()
S
49 1 39
FastCommentsIntegrationCore::getSSOConfig()
S
55 2 20
fc_comment_block_template()
S
65 3 9
fc_comment_count_template()
S
66 3 8
FastCommentsIntegrationCore::__construct()
S
64 3 10
fc_add_comment_count_scripts()
S
64 3 9
fc_contruct_admin_menu()
S
61 2 15
FastCommentsIntegrationCore::canAckLock()
S
58 2 14
FastCommentsWordPressIntegration::setEventHandled()
S
61 2 13
FastCommentsWordPressIntegration::getCurrentUser()
S
61 2 12
FastCommentsWordPressIntegration::deactivate()
S
58 1 17
FastCommentsWordPressIntegration::getWPCommentId()
S
65 2 9
fc_comments_template()
S
68 2 7
FastCommentsWordPressIntegration::getSettingValue()
S
71 2 6
FastCommentsIntegrationCore::tick()
S
65 2 9
FastCommentsWordPressIntegration::setSettingValue()
S
67 2 8
FastCommentsWordPressIntegration::isEventHandled()
S
65 2 9
FastCommentsWordPressIntegration::removeCommentIDMapEntry()
S
64 2 9
FastCommentsIntegrationCore::getCommentCount()
S
100 1 0
FastCommentsWordPressIntegration::__construct()
S
76 1 4
FastCommentsIntegrationCore::getComments()
S
100 1 0
FastCommentsIntegrationCore::base64Encode()
S
80 1 3
FastCommentsIntegrationCore::deactivate()
S
100 1 0
FastCommentsIntegrationCore::removeSendCommentsLock()
S
81 1 3
fastcomments_update()
S
73 1 5
FastCommentsPublic::handle_tick_request()
S
69 1 6
fastcomments_activate()
S
73 1 5
FastCommentsIntegrationCore::getCurrentUser()
S
100 1 0
FastCommentsIntegrationCore::createUUID()
S
100 1 0
FastCommentsWordPressIntegration::getLoginURL()
S
81 1 3
FastCommentsWordPressIntegration::getCommentCount()
S
70 1 6
fastcomments_deactivate()
S
73 1 5
FastCommentsWordPressIntegration::activate()
S
82 1 3
fastcomments_cron()
S
68 1 7
FastCommentsWordPressIntegration::getLogoutURL()
S
81 1 3
FastCommentsIntegrationCore::setSetupDone()
S
76 1 4
FastCommentsPublic::getCDN()
S
79 1 3
FastCommentsIntegrationCore::getLockName()
S
80 1 3
FastCommentsIntegrationCore::integrationStateCreateToken()
S
73 1 5
FastCommentsIntegrationCore::clearLock()
S
67 1 7
FastCommentsIntegrationCore::handleEvents()
S
100 1 0
FastCommentsIntegrationCore::getLoginURL()
S
100 1 0
FastCommentsPublic::getSite()
S
79 1 3
FastCommentsIntegrationCore::makeHTTPRequest()
S
100 1 0
fc_render_admin_support()
S
75 1 4
FastCommentsIntegrationCore::getLogoutURL()
S
100 1 0
FastCommentsIntegrationCore::getDomain()
S
100 1 0
FastCommentsWordPressIntegration::getCommentQueryWhere()
S
80 1 3
FastCommentsIntegrationCore::resetLock()
S
65 1 8
FastCommentsIntegrationCore::getSettingValue()
S
100 1 0
FastCommentsIntegrationCore::activate()
S
100 1 0
FastCommentsWordPressIntegration::getDomain()
S
81 1 3
FastCommentsIntegrationCore::commandSetSyncDone()
S
82 1 3
FastCommentsWordPressIntegration::createUUID()
S
79 1 3
FastCommentsIntegrationCore::setSettingValue()
S
100 1 0
FastCommentsIntegrationCore::disableSSO()
S
76 1 4