Code Analysis: Content Control 2.0.0

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
user_meets_requirements()
A
13
ContentControl\RuleEngine\Rules::get_post_type_rules()
A
8
ContentControl\Controllers\Frontend\Restrictions\QueryPosts::restrict_query_posts()
A
11
content_is_ancestor_of_post()
A
11
content_is_child_of_post()
A
11
get_restriction_matches_for_queried_posts()
A
11
ContentControl\Controllers\Shortcodes::content_control()
A
10
ContentControl\Controllers\Admin\Reviews::admin_notices()
A
3