Code Analysis: Centinel API 1.0.0

Function Rating Maintainability Complexity Lines of code
CentinelApiDatabase::setDumpOptions()
C
44 28 39
CentinelApiAuthorizeRequest::authorize()
C
33 22 91
CentinelApiAdminRequestHandler::input()
A
51 17 23
CentinelApiAdminRequestHandler::validateRequest()
A
49 10 29
CentinelApiDatabase::getDumpOptions()
A
48 8 34
CentinelApiApiController::createLogFolders()
S
53 7 22
CentinelApiZipChecker::check()
S
47 5 40
CentinelApiMySql::getDumpCommand()
S
52 6 23
CentinelApiViewManager::registerGeneralSettings()
S
39 1 97
CentinelApiApiController::createLog()
S
48 5 33
CentinelApiViewManager::registerMySqlSettings()
S
40 1 92
CentinelApiApiController::dumpDatabase()
S
51 5 26
CentinelApiApiController::downloadDatabase()
S
54 5 21
CentinelApiApiController::zipDatabase()
S
56 5 19
CentinelApiApiController::downloadLog()
S
56 5 18
CentinelApiZipper::createNativeZip()
S
56 5 18
CentinelApiApiController::createDbDumpFolder()
S
59 5 14
CentinelApiApiController::deleteDbDumpFolder()
S
61 4 14
CentinelApiAdminRequestHandler::checkZipAvailability()
S
57 3 17
CentinelApiHelpers::writeLog()
S
65 4 9
CentinelApiAdminRequestHandler::updateSettings()
S
58 3 15
CentinelApiApiController::emptyDbDumpFolder()
S
65 4 8
CentinelApiAdminRequestHandler::authorize()
S
65 3 9
CentinelApiRouteManager::registerRoutes()
S
52 1 29
CentinelApiViewManager::registerSections()
S
58 1 22
CentinelApiInitializer::staticOptionList()
S
56 1 20
CentinelApiInitializer::removeOptions()
S
70 2 6
CentinelApiHelpers::randomString()
S
64 2 9
CentinelApiAdminRequestHandler::updateOptions()
S
73 2 5
CentinelApiDatabase::getDumpPath()
S
67 2 8
CentinelApiAdminController::renderAdmin()
S
70 2 7
CentinelApiDatabase::getMySqlDumper()
S
70 2 6
CentinelApiMessageManager::flush()
S
68 2 8
CentinelApiInitializer::addOptions()
S
70 2 6
CentinelApiInitializer::optionList()
S
60 1 14
CentinelApiInitializer::init()
S
63 1 11
CentinelApiViewManager::centinelApiMenu()
S
66 1 11
CentinelApiApiController::setupApi()
S
76 1 4
CentinelApiDatabase::dump()
S
76 1 4
CentinelApiApiController::getPlatform()
S
82 1 3
CentinelApiAuthorizeRequest::__construct()
S
80 1 3
CentinelApiMessageManager::setError()
S
79 1 3
CentinelApiZipper::createRegularZip()
S
77 1 3
CentinelApiDatabase::dumpMySql()
S
63 1 10
CentinelApiViewManager::centinelApiInitSettings()
S
75 1 5
CentinelApiViewManager::renderContent()
S
80 1 3
CentinelApiMessageManager::setSuccess()
S
79 1 3
CentinelApiZipper::getZipPassword()
S
80 1 3
CentinelApiAdminController::__construct()
S
76 1 4
CentinelApiApiController::getLogFolderPaths()
S
68 1 7
CentinelApiInitializer::__construct()
S
76 1 4
CentinelApiZipper::create7zip()
S
77 1 3
CentinelApiRouteManager::__construct()
S
80 1 3
CentinelApiApiController::getPlatformVersion()
S
78 1 4
CentinelApiViewManager::renderSettings()
S
82 1 3
CentinelApiMessageManager::getError()
S
73 1 5
CentinelApiApiController::__construct()
S
76 1 4
CentinelApiApiController::getDefaultDataSet()
S
64 1 10
CentinelApiMessageManager::getSuccess()
S
73 1 5
CentinelApiViewManager::registerMenuAndSettings()
S
69 1 8