Code Analysis: Solo Blocks Photo Gallery 1.0.6.1

Function Rating Maintainability Complexity Lines of code
SOLO\Gallery\Photo\Basic::render_block()
B
39 19 59
SOLO\Gallery\Photo\Basic::add_responsive_block()
B
48 19 33
SOLO\Gutenberg\Gallery\Photo\Assets::add_responsive_block()
B
49 18 30
SOLO\Gallery\Blocks\Grid::render()
A
36 13 77
SOLO\Gallery\Blocks\Masonry::render()
A
37 13 75
SOLO\Gallery\Photo\Basic::get_styles()
A
49 14 28
SOLO\Gutenberg\Gallery\Photo\Assets::get_styles()
A
49 13 28
SOLO\Gutenberg\Gallery\Photo\Assets::add_responsive_style()
A
55 8 20
SOLO\Gallery\Photo\Basic::add_responsive_style()
A
55 8 20
SOLO\Gallery\Photo\Basic::ajaxCheckValue()
A
56 8 18
SOLO\Gallery\Photo\Basic::add_style()
S
54 7 24
SOLO\Gutenberg\Gallery\Photo\Assets::add_style()
S
54 7 24
SOLO\Gallery\Photo\Basic::add_render_attribute()
S
53 7 24
SOLO\Gallery\Photo\Loader::required_plugin_not_loaded()
S
52 7 22
SOLO\Gutenberg\Gallery\Photo\Assets::get_responsive_styles()
S
56 7 17
SOLO\Gallery\Photo\Basic::get_responsive_styles()
S
56 7 17
SOLO\Gallery\Photo\Loader::plugins_loaded()
S
53 6 21
SOLO\Gallery\Photo\Basic::__construct()
S
54 5 22
SOLO\Gallery\Blocks\Grid::renderItem()
S
53 5 21
SOLO\Gallery\Blocks\Masonry::renderItem()
S
53 5 21
SOLO\Gutenberg\Gallery\Photo\Assets::get_jed_locale_data()
S
57 4 16
SOLO\Gallery\Blocks\Grid::ajax_handler()
S
52 3 26
SOLO\Gallery\Blocks\Masonry::ajax_handler()
S
52 3 26
SOLO\Gallery\Photo\Basic::add_style_depends()
S
65 4 9
SOLO\Gallery\Photo\Basic::add_script_depends()
S
65 4 9
SOLO\Gallery\Photo\Basic::enqueue_scripts()
S
69 4 7
SOLO\Gutenberg\Gallery\Photo\Assets::enqueue_block_assets()
S
51 2 28
SOLO\Gallery\Photo\Basic::get_render_attribute_string()
S
62 3 11
solo_blocks_photo_gallery__meta_links()
S
55 2 20
SOLO\Gallery\Photo\Loader::__construct()
S
61 2 12
SOLO\Gutenberg\Gallery\Photo\Assets::enqueue_block_editor_assets()
S
54 1 24
SOLO\Gutenberg\Gallery\Photo\Assets::instance()
S
71 2 6
SOLO\Gallery\Photo\Loader::instance()
S
71 2 6
SOLO\Gutenberg\Gallery\Photo\Assets::__construct()
S
59 1 15
SOLO\Gallery\Photo\Loader::__get()
S
78 2 3
SOLO\Gallery\Photo\Loader::required_plugin_wrong_version()
S
73 1 4
SOLO\Gallery\Photo\Basic::set_render_attribute()
S
78 1 3
SOLO\Gallery\Photo\Loader::__clone()
S
78 1 3
SOLO\Gallery\Photo\Loader::__set()
S
91 1 2
SOLO\Gallery\Photo\Basic::camelToUnderscore()
S
64 1 10
SOLO\Gutenberg\Gallery\Photo\Assets::solo_isotope()
S
67 1 9
SOLO\Gallery\Photo\Basic::print_render_attribute_string()
S
80 1 3
SOLO\Gutenberg\Gallery\Photo\Assets::camelToUnderscore()
S
65 1 9
solo_blocks_photo_gallery__fail_php_version()
S
72 1 5
SOLO\Gallery\Blocks\Grid::construct()
S
63 1 10
SOLO\Gallery\Blocks\Masonry::construct()
S
63 1 10
SOLO\Gallery\Photo\Loader::actions()
S
79 1 3
SOLO\Gallery\Photo\Basic::render()
S
91 1 2
SOLO\Gutenberg\Gallery\Photo\Assets::wp_enqueue_scripts()
S
82 1 3
SOLO\Gallery\Photo\Basic::construct()
S
91 1 2
SOLO\Gallery\Photo\Loader::required_plugin_installed()
S
76 1 4
SOLO\Gutenberg\Gallery\Photo\Assets::admin_enqueue_scripts()
S
82 1 3
SOLO\Gallery\Photo\Loader::__wakeup()
S
78 1 3
SOLO\Gallery\Photo\Loader::_is_gutenberg_installed()
S
73 1 5