Code Analysis: Content Control 2.0.9

Most Complex Functions

Function Rating Complexity
ContentControl\RestAPI\ObjectSearch::object_search()
D
31
ContentControl\Installers\PluginSilentUpgrader::install_package()
C
23
remap_condition_to_rule()
B
23
ContentControl\Installers\PluginSilentUpgrader::run()
B
16
ContentControl\Controllers\Admin\Upgrades::ajax_handler()
B
14
ContentControl\Upgrades\Backup_2::run()
A
11
ContentControl\Controllers\Frontend\Restrictions\PostContent::filter_the_content_if_restricted()
A
14
user_meets_requirements()
A
13
is_frontend()
A
14
ContentControl\RuleEngine\Rules::get_post_type_rules()
A
8
ContentControl\Upgrades\Restrictions_2::run()
A
11
content_is_ancestor_of_post()
A
11