Code Analysis: FileBird Lite 5.0.2

Function Rating Maintainability Complexity Lines of code
FileBird\Classes\Convert::adminNotice()
C
34 23 96
FileBird\Classes\Convert::get_plugin3rd_folders_to_import()
B
38 20 74
YayRecommended::yay_recommended_upgrade_plugin()
B
33 13 109
YayRecommended::check_pro_version_exists()
B
47 17 34
FileBird\Classes\Convert::beforeGettingNewFolders()
A
43 13 57
FileBird\Support\PageBuilders::prepareRegister()
A
49 13 32
FileBird\Controller\Convert::insertToNewTable()
A
45 10 40
FileBird\Controller\Folder::enqueueAdminScripts()
A
38 8 67
YayRecommended::yay_recommended_get_plugin_data()
A
44 9 47
FileBird\Controller\Folder::ajaxGetFolder()
A
45 9 43
FileBird\Classes\Convert::ajaxNoThanks()
A
50 9 29
FileBird\Controller\Folder::postsClauses()
A
52 9 22
FileBird\Classes\Convert::getOldFolders()
A
54 9 20
FileBird\Classes\Convert::getAttOfFolder()
A
48 8 33
FileBird\Controller\Folder::importCSV()
A
45 7 46
FileBird\Controller\Api::publicRestApiGetAttachmentCount()
A
49 8 30
FileBird\I18n::getTranslation()
A
30 1 135
YayRecommended::yay_recommended_activate_plugin()
A
46 7 42
YayRecommended::recommended_plugins_view()
A
41 2 108
FileBird\Controller\Folder::ajaxUpdateFolder()
A
55 8 17
FileBird\Model\Folder::setFoldersForPosts()
S
51 7 27
FileBird\Classes\Tree::getTree()
S
50 7 27
FileBird\Controller\Folder::registerRestFields()
S
38 1 110
FileBird\Classes\Convert::isUpdated()
S
55 7 18
FileBird\Classes\Convert::isNoThanks()
S
58 7 15
FileBird\Classes\Convert::updateUpdated()
S
58 7 15
FileBird\Controller\Folder::ajaxUpdateFolderOrd()
S
59 7 13
FileBird\Support\Polylang::fbv_get_count_query()
S
47 5 42
FileBird\Controller\Folder::adminNotices()
S
61 7 11
acf_field_filebird::render_folder_list()
S
53 6 23
FileBird\Classes\Helpers::foldersFromWpmlf()
S
53 6 22
FileBird\Classes\Helpers::foldersFromRealMedia()
S
53 6 22
FileBird\Controller\Folder::ajaxDeleteFolder()
S
54 6 21
YayRecommended::get_recommended_plugins()
S
37 1 95
FileBird\Controller\Folder::ajaxNewFolder()
S
54 6 20
FileBird\Classes\Helpers::foldersFromEnhanced()
S
54 6 20
FileBird\Classes\Helpers::foldersFromWpmf()
S
54 6 20
FileBird\Classes\Helpers::foldersFromHappyFiles()
S
54 6 20
FileBird\Classes\Helpers::foldersFromPremio()
S
54 6 20
FileBird\Controller\Folder::addAttachment()
S
55 6 19
acf_field_filebird::render_folder_list()
S
56 6 18
FileBird\Controller\Folder::addFolderToZip()
S
55 6 18
YayCommerce::__construct()
S
56 6 17
FileBird\Controller\Folder::ajaxSetFolder()
S
58 6 15
FileBird\Controller\Folder::_buildQuery()
S
57 6 15
FileBird\Support\WPML::fbv_in_not_in_query()
S
52 5 26
FileBird\Controller\Folder::restoreFolderStructure()
S
51 5 25
FileBird\Controller\Folder::attachment_fields_to_edit()
S
53 5 21
FileBird\Support\WPML::__construct()
S
52 5 21
FileBird\Controller\Convert::setFolder()
S
55 5 21
FileBird\Support\Polylang::__construct()
S
54 5 19
FileBird\Controller\Convert::detail()
S
55 5 19
FileBird\Classes\Tree::getCount()
S
54 5 18
FileBird\Controller\Api::publicRestApiSetAttachment()
S
56 5 18
FileBird\Support\WPML::fbvAfterSetFolder()
S
55 5 18
FileBird\Controller\Folder::getFlatTree()
S
56 5 17
FileBird\Classes\Schedule::actionRemoveZipFiles()
S
57 5 16
FileBird\Controller\Api::getAuthorizationHeader()
S
58 5 15
FileBird\Classes\Review::fbv_save_review()
S
58 5 14
FileBird\Classes\Convert::registerRestFields()
S
43 1 74
FileBird\Controller\Api::getBearerToken()
S
60 5 13
FileBird\Support\WPML::postParseQuery()
S
60 5 12
FileBird\Support\WPML::preParseQuery()
S
60 5 12
FileBird\Model\Folder::allFolders()
S
51 4 25
YayCommerce::notification()
S
48 3 40
FileBird\Classes\Review::give_review()
S
55 4 24
FileBird\Controller\Api::registerRestFields()
S
44 1 65
FileBird\Controller\Folder::restrictManagePosts()
S
54 4 19
FileBird\Model\Folder::getChildrenOfFolder()
S
54 4 19
FileBird\Controller\Convert::_getOldFolers()
S
55 4 18
FileBird\Classes\Convert::insertFolderAndItsAtt()
S
58 4 15
FileBird\Support\WPML::display_as_translated_snippet()
S
59 4 14
FileBird\Install::create_tables()
S
52 3 27
FileBird\Support\WPML::fbv_get_count_query()
S
51 3 27
FileBird\Support\Polylang::all_folders_and_count_query()
S
52 3 25
FileBird\Classes\Tree::getAllFoldersAndCount()
S
54 3 22
acf_field_filebird::create_field()
S
58 3 18
FileBird\Controller\Folder::ajaxUpdateTree()
S
57 3 18
FileBird\Support\WPML::in_translated_types_snippet()
S
63 4 10
FileBird\Classes\Convert::ajaxImportAfterInserting()
S
59 3 15
FileBird\Controller\Folder::check_update_database()
S
65 4 8
FileBird\Support\PageBuilders::registerThemify()
S
69 4 6
FileBird\Support\Polylang::fbv_pll_lang()
S
72 4 5
FileBird\Controller\Api::restApi()
S
59 3 14
FileBird\Support\WPML::adjust_q_var_pids()
S
60 3 13
FileBird\Controller\Controller::loadView()
S
60 3 13
FileBird\Controller\Folder::ajaxQueryAttachmentsArgs()
S
62 3 12
FileBird\Support\DocumentGallery::dg_query()
S
62 3 11
FileBird\Classes\Convert::ajaxClearAllData()
S
54 2 23
FileBird\Model\Folder::updateFolderName()
S
55 2 22
YayRecommended::add_global_script_styles()
S
54 2 21
acf_field_filebird::render_field_checkbox()
S
57 2 19
init()
S
57 2 17
FileBird\Controller\Folder::ajaxGutenbergGetFolder()
S
57 2 17
FileBird\Classes\Convert::ajaxWipeOldData()
S
57 2 17
FileBird\Model\Folder::detail()
S
57 2 17
FileBird\Classes\Convert::ajaxImport()
S
58 2 16
FileBird\Support\WPML::all_folders_and_count_query()
S
57 2 16
FileBird\Classes\Convert::ajaxImportInsertFolder()
S
65 3 9
FileBird\Controller\Exclude::exclude_get_count_where_query()
S
63 3 10
FileBird\Classes\Helpers::sanitize_array()
S
68 3 7
FileBird\Classes\Helpers::isListMode()
S
68 3 7
FileBird\Classes\Review::__construct()
S
67 3 7
FileBird\Controller\UserSettings::getDefaultSelectedFolder()
S
64 3 10
FileBird\Classes\Review::update_time_display()
S
68 3 6
FileBird\Model\Folder::newOrGet()
S
66 3 8
FileBird\Page\Settings::goProRedirects()
S
66 3 9
FileBird\Support\DocumentGallery::init()
S
69 3 6
FileBird\Controller\Api::publicRestApiGetAttachmentIds()
S
60 2 15
FileBird\I18n::loadPluginTextdomain()
S
62 3 10
FileBird\Classes\Convert::ajaxInsertOldData()
S
62 3 10
FileBird\Page\Settings::adminFooter()
S
66 1 29
FileBird\Controller\Api::publicRestApiNewFolder()
S
60 2 13
FileBird\Controller\Folder::doHooks()
S
52 1 24
FileBird\Support\Polylang::get_preferred_language()
S
69 2 7
FileBird\Page\Settings::getInstance()
S
70 2 7
FileBird\Plugin::getInstance()
S
71 2 6
FileBird\Controller\Convert::_getAttachments()
S
62 2 10
FileBird\Plugin::prepareRun()
S
67 2 8
FileBird\Controller\Api::resPublicPermissionsCheck()
S
68 2 7
FileBird\Classes\Review::hasField()
S
78 2 3
FileBird\Plugin::activate()
S
65 2 9
acf_field_filebird::getInstance()
S
72 2 6
FileBird\Support\SupportController::init()
S
68 2 7
FileBird\Support\ACF::include_field()
S
71 2 6
FileBird\Classes\Convert::sanitize_arr()
S
69 2 7
FileBird\Classes\Feedback::enqueue_filebird_feedback()
S
69 2 6
FileBird\Blocks\AbstractBlock::render_callback()
S
71 2 6
FileBird\Classes\Helpers::getInstance()
S
71 2 6
FileBird\Controller\Folder::attachment_fields_to_save()
S
70 2 6
FileBird\Blocks\AbstractBlock::register_block_editor_script()
S
60 1 15
acf_field_filebird::getInstance()
S
72 2 6
FileBird\Controller\FolderUser::__construct()
S
63 2 10
FileBird\Blocks\BlockController::__construct()
S
73 2 5
FileBird\Controller\FolderUser::actionBeforeSettingFolder()
S
73 2 4
FileBird\Page\Settings::getPageId()
S
71 2 6
FileBird\Controller\UserSettings::getInstance()
S
70 2 7
FileBird\Controller\Attachment\SizeMeta::getInstance()
S
71 2 6
FileBird\Classes\Review::checkNonce()
S
70 2 6
FileBird\Classes\Convert::getInstance()
S
70 2 7
FileBird\Model\Folder::getRelations()
S
62 2 10
FileBird\Classes\Schedule::registerSchedule()
S
72 2 5
FileBird\Controller\Folder::getInstance()
S
70 2 7
FileBird\Model\Folder::deleteFolderAndItsChildren()
S
63 2 9
FileBird\Blocks\BlockController::register_blocks()
S
68 2 7
FileBird\Controller\Api::generateRandomString()
S
64 2 9
FileBird\Controller\Folder::ajaxSetSettings()
S
70 2 6
FileBird\Page\Settings::plugin_row_meta()
S
64 2 9
FileBird\I18n::getInstance()
S
71 2 6
FileBird\Page\Settings::registerSettings()
S
66 2 9
FileBirdRecommended::exclude_recommended_plugins()
S
71 2 6
FileBird\Page\Settings::settingsMenu()
S
59 1 14
FileBird\Model\Folder::updateOrdAndParent()
S
62 1 13
FileBird\Model\Folder::getRelationsWithFolderUser()
S
60 1 13
FileBird\Model\Folder::newFolder()
S
61 1 13
FileBird\Model\Folder::getFolderFromPostId()
S
62 1 13
FileBird\Support\SupportController::get_plugin_support()
S
63 1 13
YayRecommended::doHooks()
S
62 1 12
FileBird\Support\WPML::specific_lang_where()
S
62 1 12
FileBird\Blocks\AbstractBlock::register_block_type()
S
62 1 12
FileBird\Model\Folder::getFoldersOfPost()
S
74 1 4
FileBird\Controller\Controller::getTable()
S
76 1 4
FileBird\Model\Folder::countFolder()
S
75 1 4
FileBird\Controller\Api::publicRestApiGetFolderDetail()
S
68 1 8
FileBird\Controller\UserSettings::getAllSettings()
S
71 1 6
FileBird\Controller\Folder::ajaxGetRelations()
S
71 1 7
YayRecommended::admin_menu()
S
76 1 3
FileBird\Support\WPML::all_langs_where()
S
78 1 3
FileBird\Model\Folder::deleteAll()
S
72 1 5
YayCommerce::ajax_dismiss_plugin()
S
72 1 5
FileBird\Controller\Folder::actionPluploadUi()
S
81 1 3
FileBird\Blocks\AbstractBlock::enqueue_frontend_assets()
S
100 1 0
FileBird\Controller\FolderUser::filterDataBeforeInsertingFolder()
S
76 1 4
FileBird\Controller\Folder::deleteAttachment()
S
81 1 3
FileBird\Controller\Convert::countOldFolders()
S
71 1 5
FileBird\Controller\UserSettings::__construct()
S
76 1 4
FileBird\Classes\Helpers::getAttachmentCountByFolderId()
S
80 1 3
FileBird\Support\PageBuilders::registerForDivi()
S
70 1 8
FileBird\Classes\Schedule::clearSchedule()
S
80 1 3
FileBird\Controller\Folder::mailpoet_conflict_resolver_whitelist_style()
S
74 1 5
FileBird\Controller\Controller::getNodeClass()
S
79 1 3
FileBird\Controller\UserSettings::getDefaultSortFiles()
S
79 1 3
FileBird\Classes\Review::enqueue_scripts()
S
77 1 3
FileBird\Controller\Convert::__construct()
S
91 1 2
FileBird\Support\PageBuilders::registerForFusion()
S
79 1 3
FileBird\Controller\Folder::resPermissionsCheck()
S
80 1 3
FileBird\Model\Folder::rawInsert()
S
75 1 4
FileBird\Controller\Folder::mailpoet_conflict_resolver_whitelist_script()
S
74 1 5
FileBird\Support\PageBuilders::enqueueScripts()
S
81 1 3
FileBird\Classes\Feedback::form_feedback()
S
82 1 3
FileBird\Blocks\AbstractBlock::get_block_attributes()
S
82 1 3
FileBird\Support\ACF::__construct()
S
76 1 4
FileBird\Blocks\BlockController::get_blocks()
S
70 1 7
FileBird\Support\WPML::filterInNotIn()
S
73 1 5
FileBird\Controller\UserSettings::addUserSettingsData()
S
76 1 4
FileBird\Classes\Feedback::__construct()
S
79 1 3
FileBird\Controller\Folder::ajax_first_folder_notice()
S
71 1 5
FileBird\Support\PageBuilders::registerForThrive()
S
79 1 3
FileBird\Model\Folder::updateParent()
S
65 1 10
FileBird\Controller\UserSettings::setDefaultSortFiles()
S
79 1 3
FileBird\Classes\Helpers::getAttachmentIdsByFolderId()
S
74 1 4
FileBird\Controller\FolderUser::fbv_in_not_in_created_by()
S
82 1 3
FileBird\Controller\FolderUser::filterUncategorizedWhere()
S
79 1 3
FileBird\Plugin::deactivate()
S
81 1 3
FileBird\Support\PageBuilders::registerOxygenBuilder()
S
79 1 3
FileBird\Classes\Helpers::view()
S
70 1 6
FileBird\Controller\Exclude::__construct()
S
78 1 3
FileBird\Controller\UserSettings::setDefaultSelectedFolder()
S
75 1 4
acf_field_filebird::__construct()
S
65 1 9
FileBird\Classes\Tree::getFolders()
S
69 1 6
FileBird\Model\Folder::getTable()
S
76 1 4
FileBird\Blocks\AbstractBlock::get_editor_dependencies()
S
82 1 3
FileBird\Support\PageBuilders::registerForBrizy()
S
79 1 3
FileBird\Classes\Convert::ajaxGetOldData()
S
66 1 9
FileBird\Controller\Folder::__construct()
S
98 1 1
FileBird\Controller\Controller::__construct()
S
91 1 2
FileBird\Classes\Convert::resPermissionsCheck()
S
80 1 3
FileBird\Model\Folder::findById()
S
71 1 5
FileBird\Classes\Convert::doHooks()
S
79 1 3
FileBird\Blocks\AbstractBlock::init()
S
82 1 3
FileBird\Controller\Convert::getTable()
S
76 1 4
FileBirdRecommended::admin_menu()
S
76 1 3
FileBird\Blocks\AbstractBlock::render()
S
91 1 2
FileBird\Controller\Convert::getOldFolers()
S
76 1 4
acf_field_filebird::__construct()
S
65 1 9
FileBird\Page\Settings::settingsPage()
S
80 1 3
FileBird\Plugin::__construct()
S
91 1 2
FileBird\Classes\Schedule::__construct()
S
79 1 3
FileBird\Controller\Api::publicRestApiGetFolders()
S
71 1 6
FileBird\Support\WPML::countArgs()
S
76 1 4
FileBird\Support\SupportController::__construct()
S
82 1 3
FileBird\Support\PageBuilders::registerForElementor()
S
79 1 3
YayRecommended::__construct()
S
74 1 5
FileBird\Controller\Api::__construct()
S
79 1 3
FileBird\Support\Polylang::duplicateAttachmentToFolder()
S
75 1 4
FileBird\Page\Settings::doHooks()
S
67 1 7
acf_field_filebird::render_field()
S
82 1 3
YayCommerce::init()
S
75 1 4
FileBird\Controller\Folder::exportCSV()
S
71 1 5
FileBird\Classes\Convert::plugin_import_description()
S
77 1 3
FileBird\Controller\UserSettings::doHooks()
S
78 1 3
FileBird\Blocks\AbstractBlock::get_block_type()
S
80 1 3
FileBird\Support\PageBuilders::registerForBeaver()
S
79 1 3
FileBird\I18n::__construct()
S
91 1 2
FileBird\Classes\Convert::afterInsertingNewFolders()
S
75 1 4
FileBirdRecommended::__construct()
S
74 1 4
FileBird\Support\PageBuilders::registerCornerstone()
S
79 1 3
FileBird\Support\PageBuilders::__construct()
S
75 1 4
FileBird\Page\Settings::addActionLinks()
S
67 1 7
FileBird\Support\DocumentGallery::__construct()
S
79 1 3
FileBird\Support\PageBuilders::registerTatsuBuilder()
S
79 1 3
FileBird\Controller\Api::resAdminPermissionsCheck()
S
80 1 3
FileBird\Blocks\AbstractBlock::get_render_callback()
S
80 1 3
FileBird\Blocks\AbstractBlock::__construct()
S
82 1 3
FileBird\Controller\FolderUser::isEnabled()
S
78 1 3
FileBird\Classes\Convert::__construct()
S
91 1 2
FileBird\Model\Folder::deleteFoldersOfPost()
S
68 1 8