Code Analysis: Patternly - Gutenberg Starter Templates, Patterns, WordPress Landing Pages & Sites 1.1.2

Function Rating Maintainability Complexity Lines of code
Optemiz\Base\Ajax::save_as_favourite()
C
32 30 90
Optemiz\Base\Frontend::display_form_in_product()
C
38 32 59
Optemiz\Base\Ajax::submit_form()
C
33 30 84
Optemiz\Base\Api::activate_plugins()
B
32 15 112
Optemiz\Base\Api::save_as_favourite()
A
47 10 35
Optemiz\Base\Api::get_template()
A
49 7 31
Optemiz\Base\Frontend::display_form_in_variation()
S
58 8 13
pat_insert_attachment_from_url()
S
46 5 39
Optemiz\Base\Api::get_favourite_templates()
S
53 5 22
Optemiz\Base\Assets::admin_scripts()
S
47 4 36
pat_update_image_url_to_local()
S
57 5 17
pat_is_pro_activated()
S
57 5 17
Optemiz\Base\Frontend::form_content()
S
57 5 16
Optemiz\Base\Frontend::get_default_variation_id()
S
58 4 15
Optemiz\Base\Api::register_api()
S
49 1 39
Optemiz\Base\Admin::plugin_row_meta()
S
58 2 14
pat_get_activated_plugin_list()
S
67 2 8
Optemiz\Base\Plugin::define()
S
75 2 5
Optemiz\Base\Plugin::instance()
S
72 2 6
pat_get_dependency_plugins_slug()
S
68 2 8
appsero_init_tracker_patternly()
S
67 2 7
pat_get_dependency_plugin_basename()
S
69 2 7
Optemiz\Base\Assets::instance()
S
72 2 6
Optemiz\Base\Assets::hooks()
S
71 2 6
Optemiz\Base\Ajax::instance()
S
72 2 6
Optemiz\Base\Api::instance()
S
72 2 6
pat_fetch_default_data()
S
64 2 9
Optemiz\Base\Assets::register_public_scripts()
S
59 1 15
Optemiz\Base\Frontend::instance()
S
72 2 6
Optemiz\Base\Settings::instance()
S
69 2 7
Optemiz\Base\Admin::instance()
S
72 2 6
pat_get_dependency_plugins_list()
S
61 1 13
Optemiz\Base\Plugin::images_url()
S
79 1 3
Optemiz\Base\Plugin::plugin_path()
S
80 1 3
Optemiz\Base\Plugin::assets_version()
S
79 1 3
Optemiz\Base\Ajax::init()
S
80 1 3
Optemiz\Base\Ajax::hooks()
S
79 1 3
Optemiz\Base\Frontend::hooks()
S
67 1 7
Optemiz\Base\Ajax::__construct()
S
74 1 5
Optemiz\Base\Api::hooks()
S
79 1 3
Optemiz\Base\Plugin::plugin_dirname()
S
80 1 3
Optemiz\Base\Frontend::__construct()
S
74 1 5
patternly_init()
S
82 1 3
Optemiz\Base\Plugin::assets_path()
S
80 1 3
Optemiz\Base\Assets::__construct()
S
76 1 4
Optemiz\Base\Plugin::basename()
S
80 1 3
Optemiz\Base\Plugin::hooks()
S
78 1 3
Optemiz\Base\Plugin::plugin_basename()
S
80 1 3
Optemiz\Base\Plugin::language()
S
78 1 3
Optemiz\Base\Admin::plugin_action_links()
S
91 1 2
Optemiz\Base\Plugin::build_path()
S
80 1 3
Optemiz\Base\Plugin::include_path()
S
79 1 3
Optemiz\Base\Plugin::__construct()
S
71 1 6
Optemiz\Base\Plugin::includes()
S
91 1 2
Optemiz\Base\Plugin::build_url()
S
79 1 3
Optemiz\Base\Api::__construct()
S
76 1 4
Optemiz\Base\Plugin::org_assets_url()
S
79 1 3
Optemiz\Base\Plugin::assets_url()
S
79 1 3
Optemiz\Base\Assets::register_public_styles()
S
78 1 3
Optemiz\Base\Plugin::plugin_url()
S
80 1 3
Optemiz\Base\Admin::__construct()
S
80 1 3
Optemiz\Base\Plugin::version()
S
80 1 3
Optemiz\Base\Frontend::init()
S
80 1 3
Optemiz\Base\Plugin::init()
S
78 1 4