Code Analysis: CRM GRC Contact API Form 1.0.0

Function Rating Maintainability Complexity Lines of code
SGPLUGIN\GrcContact::recordCredential()
A
52 9 23
SGPLUGIN\GrcContact::sendRequest()
A
47 8 34
SGPLUGIN\GrcContact::formateCustomRowForAPI()
S
54 7 20
SGPLUGIN\GrcContact::formateDataForAPI()
S
57 7 16
SGPLUGIN\Core\Core::admin_enqueue_scripts()
S
55 6 19
SGPLUGIN\GrcContact::on_save_post()
S
61 5 11
SGPLUGIN\GrcContact::randomToken()
S
62 5 11
SGPLUGIN\GrcContact::createPostType()
S
40 1 62
SGPLUGIN\Core\Core::encrypt()
S
57 4 16
SGPLUGIN\Core\Core::displayTemplate()
S
61 4 11
SGPLUGIN\GrcContact::encode_mapping()
S
64 4 9
SGPLUGIN\GrcContact::display_meta_box()
S
62 4 10
SGPLUGIN\GrcContact::captureSendingForm()
S
71 4 5
SGPLUGIN\Core\Core::decrypt()
S
62 3 11
SGPLUGIN\GrcContact::setup()
S
54 2 20
SGPLUGIN\Core\Core::createAdminSubpage()
S
55 2 19
SGPLUGIN\Core\Core::createAdminPage()
S
56 2 18
SGPLUGIN\Core\Core::getJsonPayload()
S
64 3 10
SGPLUGIN\Services\GRCAPIService::sendContact()
S
50 1 30
SGPLUGIN\Core\Core::validPayload()
S
72 3 4
SGPLUGIN\GrcContact::formateRowForAPI()
S
65 3 8
SGPLUGIN\GrcContact::noticeForToken()
S
69 3 6
SGPLUGIN\Core\Core::pluginUrl()
S
68 3 6
get_logs()
S
57 1 23
get_logs()
S
57 1 23
SGPLUGIN\GrcContact::createTableLogs()
S
61 1 17
SGPLUGIN\GrcContact::add_post_meta_boxes()
S
58 1 17
SGPLUGIN\Core\Core::deactivation()
S
70 2 6
SGPLUGIN\GrcContact::fill_custom_post_type_columns()
S
69 2 6
SGPLUGIN\Core\Core::getPlugin()
S
69 2 7
SGPLUGIN\Core\Core::activation()
S
70 2 6
SGPLUGIN\Core\Core::__call()
S
74 2 5
SGPLUGIN\Core\Core::set_post_meta()
S
70 2 6
SGPLUGIN\GrcContact::displayTemplate()
S
76 1 4
SGPLUGIN\GrcContact::uninstall()
S
72 1 6
SGPLUGIN\GrcContact::install()
S
77 1 4
SGPLUGIN\GrcContact::saveRequestAPIStatus()
S
68 1 7
SGPLUGIN\GrcContact::display_key_box()
S
79 1 3
SGPLUGIN\Core\Core::calculateMac()
S
72 1 5
SGPLUGIN\GrcContact::dropTableLogs()
S
75 1 4
SGPLUGIN\Core\Core::__construct()
S
71 1 5
SGPLUGIN\GrcContact::custom_post_type_columns()
S
79 1 3
SGPLUGIN\Core\Core::setScript()
S
80 1 3
SGPLUGIN\Core\Core::setup()
S
71 1 5
SGPLUGIN\GrcContact::on_delete_post()
S
76 1 4
SGPLUGIN\Core\Core::setScripts()
S
81 1 3
SGPLUGIN\Services\GRCAPIService::__construct()
S
64 1 10
SGPLUGIN\Core\Core::validMac()
S
69 1 6
SGPLUGIN\Core\Core::hash()
S
78 1 3