Code Analysis: Patternly - WordPress Pattern Library for Gutenberg 1.0.5

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::save_as_favourite()
A
49 9 29
Optemiz\Base\Frontend::display_form_in_variation()
S
58 8 13
pat_insert_attachment_from_url()
S
46 5 39
pat_update_image_url_to_local()
S
57 5 17
pat_is_pro_activated()
S
57 5 17
Optemiz\Base\Assets::admin_scripts()
S
49 4 31
Optemiz\Base\Frontend::form_content()
S
57 5 16
Optemiz\Base\Api::import_pattern()
S
51 4 27
Optemiz\Base\Frontend::get_default_variation_id()
S
58 4 15
Optemiz\Base\Api::register_api()
S
53 1 29
Optemiz\Base\Admin::plugin_row_meta()
S
58 2 14
Optemiz\Base\Assets::hooks()
S
71 2 6
Optemiz\Base\Assets::register_public_scripts()
S
59 1 15
Optemiz\Base\Ajax::instance()
S
72 2 6
Optemiz\Base\Api::instance()
S
72 2 6
Optemiz\Base\Frontend::instance()
S
72 2 6
Optemiz\Base\Settings::instance()
S
69 2 7
Optemiz\Base\Admin::instance()
S
72 2 6
Optemiz\Base\Api::get_favourite_patterns()
S
64 2 9
Optemiz\Base\Plugin::define()
S
75 2 5
Optemiz\Base\Plugin::instance()
S
72 2 6
Optemiz\Base\Assets::instance()
S
72 2 6
appsero_init_tracker_patternly()
S
67 2 7
Optemiz\Base\Plugin::__construct()
S
71 1 6
Optemiz\Base\Api::__construct()
S
76 1 4
Optemiz\Base\Frontend::__construct()
S
74 1 5
Optemiz\Base\Plugin::plugin_url()
S
80 1 3
Optemiz\Base\Api::hooks()
S
79 1 3
Optemiz\Base\Frontend::init()
S
80 1 3
Optemiz\Base\Ajax::hooks()
S
79 1 3
Optemiz\Base\Admin::__construct()
S
80 1 3
Optemiz\Base\Plugin::build_url()
S
79 1 3
Optemiz\Base\Plugin::assets_version()
S
79 1 3
Optemiz\Base\Ajax::__construct()
S
74 1 5
Optemiz\Base\Plugin::hooks()
S
78 1 3
Optemiz\Base\Plugin::language()
S
78 1 3
Optemiz\Base\Plugin::plugin_path()
S
80 1 3
Optemiz\Base\Ajax::init()
S
80 1 3
Optemiz\Base\Plugin::assets_url()
S
79 1 3
Optemiz\Base\Plugin::version()
S
80 1 3
Optemiz\Base\Plugin::plugin_dirname()
S
80 1 3
Optemiz\Base\Frontend::hooks()
S
67 1 7
Optemiz\Base\Plugin::build_path()
S
80 1 3
Optemiz\Base\Plugin::init()
S
78 1 4
Optemiz\Base\Assets::__construct()
S
76 1 4
patternly_init()
S
82 1 3
Optemiz\Base\Assets::register_public_styles()
S
78 1 3
Optemiz\Base\Plugin::images_url()
S
79 1 3
Optemiz\Base\Plugin::plugin_basename()
S
80 1 3
Optemiz\Base\Plugin::org_assets_url()
S
79 1 3
Optemiz\Base\Admin::plugin_action_links()
S
91 1 2
Optemiz\Base\Plugin::include_path()
S
79 1 3
Optemiz\Base\Plugin::includes()
S
91 1 2
Optemiz\Base\Plugin::basename()
S
80 1 3
Optemiz\Base\Plugin::assets_path()
S
80 1 3