Code Analysis: Baidu TextCensor For Comments 1.0.8

Function Rating Maintainability Complexity Lines of code
bdtc_submit_options()
B
34 13 95
Luffy\TextCensor\AipBase::request()
A
49 8 28
Luffy\TextCensor\AipBase::baiduWpRequest()
S
53 7 23
bdtc_submit_check()
S
60 6 11
bdtc_refused_comments()
S
55 5 20
bdtc_request_check()
S
58 4 14
Luffy\TextCensor\AipBase::readAuthObj()
S
60 4 12
Luffy\TextCensor\AipBase::auth()
S
56 3 19
Luffy\TextCensor\AipBase::writeAuthObj()
S
65 4 8
Luffy\TextCensor\AipBase::isPermission()
S
67 3 7
bdtc_submit_default_options()
S
61 2 14
bdtc_get_user_roles()
S
67 2 8
bdtc_plugin_action_links()
S
70 2 6
bdtc_stop_option()
S
71 2 6
Luffy\TextCensor\AipBase::__construct()
S
73 1 5
Luffy\TextCensor\AipBase::textCensorUserDefined()
S
72 1 5
Luffy\TextCensor\AipBase::proccessResult()
S
79 1 3
bdtc_submit_menu()
S
78 1 3
Luffy\TextCensor\AipBase::getAuthFilePath()
S
78 1 3