Code Analysis: FastComments 3.10.2

Function Rating Maintainability Complexity Lines of code
FastCommentsWordPressIntegration::handleEvents()
B
32 21 105
FastCommentsIntegrationCore::commandSendComments()
B
35 16 83
FastCommentsWordPressIntegration::fc_to_wp_comment()
A
46 10 37
FastCommentsIntegrationCore::integrationStatePollNext()
A
49 9 29
FastCommentsWordPressIntegration::wp_to_fc_comment()
A
46 7 36
FastCommentsIntegrationCore::commandFetchEvents()
S
50 7 26
fc_render_admin_index()
S
46 6 39
FastCommentsWordPressIntegration::log()
S
55 7 19
FastCommentsPublic::get_config_for_post()
S
55 5 18
FastCommentsIntegrationCore::integrationStateInitial()
S
60 5 14
fc_construct_admin_bar()
S
44 2 56
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
FastCommentsWordPressIntegration::ensure_plugin_dependencies()
S
51 3 28
FastCommentsIntegrationCore::log()
S
61 4 13
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_plugin_action_links()
S
62 3 11
FastCommentsPublic::getSSOConfig()
S
52 2 24
FastCommentsIntegrationCore::getSSOConfig()
S
55 2 20
fc_contruct_admin_menu()
S
61 2 15
FastCommentsIntegrationCore::__construct()
S
64 3 10
FastCommentsIntegrationCore::canAckLock()
S
63 3 10
FastCommentsWordPressIntegration::setEventHandled()
S
61 2 13
FastCommentsWordPressIntegration::getCurrentUser()
S
61 2 12
FastCommentsPublic::setup_api_listeners()
S
54 1 25
FastCommentsWordPressIntegration::deactivate()
S
58 1 17
FastCommentsWordPressIntegration::isEventHandled()
S
65 2 9
FastCommentsIntegrationCore::tick()
S
65 2 9
FastCommentsWordPressIntegration::getWPCommentId()
S
65 2 9
FastCommentsWordPressIntegration::removeCommentIDMapEntry()
S
64 2 9
fc_comments_template()
S
68 2 7
fastcomments_cron()
S
68 1 7
FastCommentsIntegrationCore::getLoginURL()
S
100 1 0
FastCommentsIntegrationCore::setSetupDone()
S
72 1 5
FastCommentsIntegrationCore::getCommentCount()
S
100 1 0
fastcomments_activate()
S
73 1 5
FastCommentsIntegrationCore::getCurrentUser()
S
100 1 0
FastCommentsIntegrationCore::makeHTTPRequest()
S
100 1 0
FastCommentsIntegrationCore::setSettingValue()
S
100 1 0
fastcomments_update()
S
73 1 5
FastCommentsWordPressIntegration::setSettingValue()
S
80 1 3
FastCommentsIntegrationCore::getSettingValue()
S
100 1 0
FastCommentsPublic::handle_tick_request()
S
69 1 6
fastcomments_deactivate()
S
73 1 5
FastCommentsWordPressIntegration::getCommentCount()
S
70 1 6
FastCommentsIntegrationCore::handleEvents()
S
100 1 0
FastCommentsIntegrationCore::getDomain()
S
100 1 0
FastCommentsIntegrationCore::base64Encode()
S
80 1 3
FastCommentsWordPressIntegration::getDomain()
S
81 1 3
FastCommentsIntegrationCore::getLogoutURL()
S
100 1 0
FastCommentsWordPressIntegration::getCommentQueryWhere()
S
80 1 3
FastCommentsIntegrationCore::deactivate()
S
100 1 0
FastCommentsWordPressIntegration::getLoginURL()
S
81 1 3
FastCommentsIntegrationCore::activate()
S
100 1 0
FastCommentsWordPressIntegration::activate()
S
82 1 3
FastCommentsWordPressIntegration::getLogoutURL()
S
81 1 3
FastCommentsIntegrationCore::integrationStateCreateToken()
S
73 1 5
fc_render_admin_support()
S
75 1 4
FastCommentsIntegrationCore::getComments()
S
100 1 0
FastCommentsIntegrationCore::getLockName()
S
80 1 3
FastCommentsWordPressIntegration::createUUID()
S
79 1 3
FastCommentsIntegrationCore::disableSSO()
S
76 1 4
FastCommentsIntegrationCore::createUUID()
S
100 1 0
FastCommentsIntegrationCore::clearLock()
S
75 1 4
FastCommentsWordPressIntegration::__construct()
S
80 1 3
FastCommentsWordPressIntegration::getSettingValue()
S
80 1 3