Code Analysis: If Block — Visibility control for Blocks 1.2.0

Most Complex Classes

Class Rating Complexity
IfBlock\Includes\Block
S
30
IfBlock\IfBlock
S
17
IfBlock\Includes\API
S
7

Most Complex Functions

Function Rating Complexity
IfBlock\Includes\Block::render_callback()
B
21
IfBlock\IfBlock::autoload()
S
5
IfBlock\Includes\Block::get_current_user_browser()
S
3
IfBlock\Includes\API::get_browsers()
S
1
IfBlock\Includes\API::get_user_roles()
S
2
IfBlock\IfBlock::instance()
S
3
IfBlock\IfBlock::block_editor_assets()
S
2
IfBlock\Includes\API::register_rest_routes()
S
1
IfBlock\Includes\Block::get_current_user_role()
S
2
IfBlock\Includes\Block::register_block()
S
1
IfBlock\IfBlock::__wakeup()
S
1
IfBlock\Includes\API::__construct()
S
1