Code Analysis: Templately 2.0.1

Function Rating Maintainability Complexity Lines of code
Templately\Utils\Installer::install()
B
39 15 62
Templately\API\SignUp::create_account()
A
40 15 59
Templately\API\MyClouds::download()
A
42 15 48
Templately\API\Login::login()
A
39 12 64
Templately\API\Dependencies::check_dependencies()
A
45 13 39
Templately\API\MyClouds::upload()
A
42 12 52
Templately\Utils\Http::maybeErrors()
A
45 12 41
Templately\API\Items::set_favourite()
A
42 11 52
Templately\API\Import::insert_template()
A
47 12 33
Templately\API\Items::get_items()
A
44 9 46
Templately\API\TemplateTypes::get_types()
A
46 9 40
Templately\API\Items::get_counts()
A
39 6 80
Templately\API\Import::get_remote_content()
A
51 9 25
Templately\Core\Migrator::init()
A
49 8 31
Templately\API\Dependencies::get_dependencies()
A
50 8 31
Templately\Core\Admin::scripts()
A
43 7 46
Templately\Utils\Http::post()
A
50 8 29
Templately\Core\Admin::notices()
A
38 5 72
Templately\Utils\Http::prepareArgs()
S
56 7 16
Templately\Utils\Options::user_id()
S
59 7 13
Templately\API\WorkSpaces::get_workspaces_details()
S
46 5 42
Templately\Core\Platform\Elementor::delete()
S
51 6 27
Templately\Utils\Enqueue::asset_config()
S
53 6 21
Templately\Core\Platform\Elementor::get_saved_templates()
S
46 5 36
Templately\API\Items::get_item()
S
49 5 31
Templately\Core\Platform\Elementor::create_page()
S
50 5 31
Templately\Utils\Options::whoami()
S
61 6 13
Templately\API\API::get_param()
S
61 6 12
Templately\API\Login::logout()
S
51 5 26
Templately\API\Items::get_search_results()
S
48 4 37
Templately\API\Tags::tags()
S
55 5 21
Templately\API\Profile::sync()
S
48 4 35
Templately\Utils\Http::query()
S
57 5 16
Templately\Core\Admin::maybe_redirect_templately()
S
60 5 14
Templately\API\WorkSpaces::edit_workspace()
S
51 4 28
Templately\API\MyClouds::get_clouds()
S
51 4 27
Templately\Core\Platform\Gutenberg::create_page()
S
51 4 27
Templately\Core\Importer\Elementor::create_page()
S
52 4 25
Templately\Utils\Helper::normalizeFavourites()
S
56 4 20
Templately\API\API::permission_error()
S
55 4 20
Templately\Core\Importer\Elementor::import_in_library()
S
55 4 20
Templately\Core\Platform\Elementor::is_eligible()
S
57 4 17
Templately\API\Categories::get_categories()
S
58 4 16
Templately\API\API::call_user_func()
S
62 5 10
Templately\API\Import::get_content()
S
59 4 15
Templately\Utils\Helper::get_ip()
S
62 4 11
Templately\Utils\Installer::activate_plugin()
S
63 4 11
Templately\Utils\Options::set()
S
62 4 11
Templately\API\Profile::get_my_favourites()
S
52 3 25
Templately\API\WorkSpaces::create_workspace()
S
53 3 24
Templately\API\WorkSpaces::delete_workspaces()
S
54 3 23
Templately\API\WorkSpaces::get_workspaces()
S
53 3 22
Templately\API\WorkSpaces::add_item()
S
54 3 22
Templately\Utils\Helper::log()
S
65 4 9
Templately\Core\Module::active()
S
64 4 9
Templately\API\Items::featured_items()
S
61 3 14
Templately\API\Login::is_signed()
S
59 3 14
Templately\Core\Importer\Elementor::page_settings()
S
60 3 14
Templately\API\Import::get_cloud_content()
S
59 3 14
Templately\Core\Module::add()
S
63 3 11
Templately\Core\Platform\Elementor::get_template_data()
S
62 3 11
Templately\API\Items::register_routes()
S
49 1 38
Templately\API\Profile::get_download_history()
S
54 2 22
Templately\Core\Admin::has_no_elementor()
S
55 2 20
Templately\Core\Platform\Gutenberg::print_admin_js_template()
S
58 2 20
Templately\API\WorkSpaces::delete_item()
S
56 2 19
Templately\API\MyClouds::get_cloud_usage()
S
59 2 16
Templately\Plugin::register_routes()
S
68 3 7
Templately\API\Items::get_query_types()
S
77 3 3
Templately\API\API::is_allowed()
S
65 3 9
Templately\Utils\Enqueue::call_wp_func()
S
67 3 6
Templately\Utils\Options::unlink_account()
S
77 3 3
Templately\API\Dependencies::permission_check()
S
65 3 8
Templately\Utils\Options::get()
S
70 3 5
Templately\Utils\Options::remove()
S
66 3 8
Templately\Utils\Plan::get()
S
74 3 4
Templately\API\Import::get_local_content()
S
65 3 8
Templately\API\WorkSpaces::get_item()
S
59 2 14
Templately\API\MyClouds::delete()
S
59 2 14
Templately\Core\Platform\Elementor::import_in_library()
S
59 2 14
Templately\Core\Platform\Elementor::get_content()
S
60 2 14
Templately\API\Dependencies::install_dependencies()
S
62 2 12
Templately\API\API::response()
S
63 2 12
Templately\Utils\Helper::sanitize()
S
64 2 11
Templately\API\MyClouds::copy_or_move()
S
58 1 16
Templately\Utils\Base::platform()
S
69 2 7
Templately\API\API::get_namespace()
S
77 2 3
Templately\Core\Platform\Elementor::is_kit()
S
74 2 4
Templately\Core\Platform\Elementor::ui_theme()
S
74 2 4
Templately\API\Items::permission_check()
S
67 2 8
Templately\Utils\Http::__construct()
S
79 2 3
Templately\Utils\Http::mutation()
S
65 2 8
Templately\Plugin::define()
S
75 2 5
Templately\Utils\Installer::raise_limits()
S
68 2 7
Templately\Core\Platform\Elementor::hooks()
S
68 2 7
Templately\API\Import::import_as_page()
S
63 2 9
Templately\Utils\Base::get_instance()
S
68 2 7
Templately\API\WorkSpaces::permission_error()
S
68 2 7
Templately\Utils\Enqueue::asset_url()
S
71 2 6
Templately\API\API::permission_check()
S
65 2 9
Templately\Utils\Helper::is_plugin_active()
S
70 2 6
Templately\Utils\Helper::views()
S
66 2 8
Templately\Utils\Helper::error()
S
67 2 7
Templately\Utils\Helper::get_plugins()
S
70 2 6
Templately\Utils\Options::link_account()
S
78 2 3
Templately\Core\Module::get()
S
68 2 7
Templately\Utils\Http::url()
S
72 2 6
Templately\API\Import::import_in_library()
S
65 2 8
Templately\Plugin::apis()
S
61 1 14
Templately\API\Login::user_meta()
S
61 1 12
Templately\API\API::register_endpoint()
S
62 1 12
Templately\Core\Platform\Elementor::get_export_link()
S
62 1 12
Templately\Core\Admin::admin_menu()
S
64 1 11
Templately\API\Profile::verified()
S
64 1 11
Templately\API\Categories::register_routes()
S
79 1 3
Templately\API\API::__construct()
S
73 1 5
Templately\Core\Maintenance::uninstall()
S
89 1 2
Templately\Utils\Enqueue::__construct()
S
74 1 5
Templately\API\SavedTemplates::register_routes()
S
74 1 4
Templately\Plugin::__construct()
S
63 1 10
Templately\API\API::success()
S
79 1 3
Templately\Utils\Options::current_user_id()
S
82 1 3
Templately\Plugin::define_constants()
S
67 1 7
Templately\Core\Maintenance::init()
S
74 1 4
Templately\Utils\Enqueue::localize()
S
79 1 3
Templately\Core\Platform\Elementor::get_template_from_library()
S
75 1 4
Templately\Utils\Options::remove_global_login()
S
80 1 3
Templately\API\Dependencies::register_routes()
S
71 1 5
Templately\Utils\Enqueue::icon()
S
78 1 3
Templately\API\SignUp::permission_check()
S
77 1 4
Templately\Utils\Options::set_global_login()
S
78 1 3
Templately\Utils\Base::__wakeup()
S
78 1 3
Templately\Core\Platform\Gutenberg::scripts()
S
70 1 6
Templately\API\MyClouds::register_routes()
S
66 1 8
Templately\API\Tags::permission_check()
S
77 1 4
Templately\Core\Admin::header()
S
81 1 3
Templately\API\Login::signed_as_global()
S
79 1 3
Templately\Utils\Options::update_option()
S
79 1 3
Templately\API\TemplateTypes::register_routes()
S
79 1 3
Templately\API\API::get()
S
78 1 3
Templately\Utils\Options::__construct()
S
74 1 4
Templately\Utils\Options::is_global()
S
79 1 3
Templately\Core\Maintenance::activation()
S
89 1 2
Templately\API\TemplateTypes::permission_check()
S
77 1 4
Templately\Core\Migrator::__construct()
S
75 1 4
Templately\API\API::post()
S
79 1 3
Templately\Utils\Base::__clone()
S
78 1 3
Templately\Core\Platform\Elementor::scripts()
S
72 1 5
Templately\Plugin::set_locale()
S
79 1 3
Templately\API\SavedTemplates::get_saved_templates()
S
74 1 4
Templately\API\Login::is_globally_signed()
S
79 1 3
Templately\API\API::__callStatic()
S
79 1 3
Templately\API\Import::register_routes()
S
72 1 5
Templately\API\API::__call()
S
79 1 3
Templately\Plugin::load_textdomain()
S
78 1 3
Templately\API\API::get_plan()
S
80 1 3
Templately\Core\Platform\Gutenberg::hooks()
S
75 1 4
Templately\Core\Platform\Gutenberg::ui_theme()
S
82 1 3
Templately\Core\Platform\Gutenberg::__construct()
S
69 1 7
Templately\Core\Platform\Elementor::styles()
S
80 1 3
Templately\API\Categories::permission_check()
S
77 1 4
Templately\Plugin::plugins_loaded()
S
75 1 5
Templately\Utils\Helper::success()
S
79 1 3
Templately\Core\Admin::display()
S
81 1 3
Templately\Core\Importer\Elementor::get_data()
S
70 1 6
Templately\Plugin::__wakeup()
S
78 1 3
Templately\Utils\Database::get_transient()
S
75 1 4
Templately\Utils\Enqueue::enqueue()
S
74 1 4
Templately\API\Login::register_routes()
S
72 1 5
Templately\Core\Admin::__construct()
S
70 1 6
Templately\API\SavedTemplates::permission_check()
S
77 1 4
Templately\Utils\Enqueue::dist_path()
S
78 1 3
Templately\API\Login::permission_check()
S
77 1 4
Templately\Plugin::__clone()
S
78 1 3
Templately\Utils\Helper::trigger_error()
S
66 1 7
Templately\Core\Platform::create_page()
S
100 1 0
Templately\Utils\Options::signed_as_global()
S
80 1 3
Templately\Core\Platform\Elementor::insert()
S
76 1 4
templately()
S
80 1 3
Templately\Utils\Enqueue::register()
S
74 1 4
Templately\Utils\Database::set_transient()
S
74 1 4
Templately\API\SignUp::register_routes()
S
79 1 3
Templately\Utils\Http::prepare()
S
78 1 3
Templately\Plugin::platforms()
S
78 1 4
Templately\Utils\Options::is_globally_signed()
S
80 1 3
Templately\Core\Platform\Gutenberg::insert()
S
82 1 3
Templately\API\WorkSpaces::register_routes()
S
63 1 10
Templately\API\Tags::register_routes()
S
79 1 3
Templately\Core\Platform\Elementor::__construct()
S
69 1 7
Templately\API\Profile::register_routes()
S
69 1 6
Templately\API\SavedTemplates::delete()
S
74 1 4
Templately\Utils\Options::get_option()
S
79 1 3
Templately\API\API::error()
S
78 1 3