Code Analysis: Templately 1.3.3

Function Rating Maintainability Complexity Lines of code
Templately\API::get_templately()
D
28
43 121
Templately\API::user_data()
C
34 24 89
Templately\API::get_template_content()
C
38 24 66
Templately\API::set_favourite()
B
39 23 55
Templately\API::get_items()
B
41 22 46
Templately\API::create_or_edit_workspace()
B
42 19 47
Templately\RequirementInstaller::install_plugin()
B
38 15 69
Templately\API::getItemsOrPacks()
B
45 17 34
Templately\API::login_user()
A
40 15 60
Templately\API::create_user()
A
41 14 54
Templately\API::get_categories()
A
44 14 44
Templately\API::get_item()
A
44 14 43
Templately\API::create_page()
A
43 13 46
Templately\API::remove_from_cloud()
A
44 13 41
Templately\API::cloud_push()
A
44 13 40
Templately\API::workspace_details()
A
46 13 35
Templately\API::get_workspace()
A
48 13 30
Templately\API::insert_template()
A
48 13 29
Templately\Elementor::enqueue_scripts()
A
37 10 72
Templately\Query::maybeErrors()
A
50 13 26
Templately\Plugin::migrate()
A
49 12 27
Templately\API::check_dependency()
A
46 11 38
Templately\API::push_to_cloud()
A
52 11 22
Templately\API::get_items_count()
A
38 7 80
Templately\API::clouds_sync()
A
47 10 33
Templately\API::copy_or_move()
A
48 9 30
Templately\Query::push()
A
48 8 34
Templately\API::add_files_to_workspace()
A
50 8 28
Templately\API::delete_workspace()
A
51 8 25
Templately\API::save_template()
A
53 8 23
Templately\API::import_to_library()
S
50 7 26
Templately\API::create_workspace()
S
51 7 25
Templately\API::platform_exists()
S
53 7 23
Templately\Importer::create_page()
S
48 6 35
Templately\Importer::import_templately()
S
50 6 30
Templately\Elementor::editor_platform()
S
59 7 14
Templately\Elementor::platform_exists()
S
55 6 22
Templately\REST::download()
S
47 5 36
Templately\API::ready_args()
S
55 6 19
Templately\Elementor::templates()
S
47 5 34
Templately\API::get_dependencies()
S
55 5 19
Templately\Admin\Admin::maybe_redirect_templately()
S
60 5 14
Templately\REST::my_favourites()
S
52 4 27
Templately\DB::get_user_meta()
S
61 5 12
Templately\Loader::run()
S
61 5 12
Templately\Query::get()
S
55 4 19
Templately\API::cloud_usage_limit()
S
56 4 18
Templately\API::get_tags()
S
57 4 16
Templately\API::delete_template()
S
57 4 16
Templately\Elementor::prettyurl()
S
63 5 10
Templately\API::verification_done()
S
58 4 14
Templately\Autoloader::autoload()
S
61 4 12
Templately\RequirementInstaller::activate_plugin()
S
63 4 11
Templately\DB::update_user_meta()
S
62 4 11
Templately\DB::delete_user_meta()
S
63 4 11
Templately\Elementor::reusable_blocks()
S
53 3 23
Templately\Admin\Metabox::metabox_save()
S
67 4 8
Templately\API::is_eligible_for_import()
S
63 4 10
Templately\Importer::get_data()
S
59 3 15
Templately\Login::user_can_logout()
S
64 4 9
Templately\API::get_ip()
S
63 3 11
Templately\REST::my_downloads()
S
56 2 20
Templately\Admin\Admin::has_no_elementor()
S
55 2 20
Templately\API::logout()
S
58 2 17
Templately\Login::get_global_signed_in_by_user()
S
67 3 7
Templately\API::get_api()
S
74 3 4
Templately\REST::check_permission()
S
67 3 7
Templately\Autoloader::load_class()
S
65 3 9
Templately\API::template_export()
S
63 3 10
Templately\Elementor::is_editor()
S
77 3 3
Templately\Elementor::get_ip()
S
64 3 10
Templately\Plugin::__construct()
S
59 2 15
Templately\Installer::activate()
S
68 3 7
Templately\REST::register_routes()
S
53 1 24
Templately\DB::delete_option()
S
68 2 7
Templately\API::get_templates()
S
71 2 5
Templately\Query::remove_cloud_item()
S
65 2 9
Templately\REST::get_instance()
S
72 2 6
templately()
S
74 2 5
Templately\RequirementInstaller::get_instance()
S
72 2 6
Templately\DB::update_option()
S
73 2 4
Templately\Query::get_url()
S
72 2 6
Templately\Helper::views()
S
68 2 7
Templately\API::get_instance()
S
72 2 6
Templately\Login::already_signedin_globally()
S
74 2 4
Templately\RequirementInstaller::raise_limits()
S
68 2 7
Templately\Plugin::get_instance()
S
72 2 6
Templately\API::install_requirements()
S
71 2 5
Templately\Login::set_user_login_choice()
S
65 2 9
Templately\DB::get_option()
S
73 2 4
Templately\Helper::get_plugins()
S
70 2 6
Templately\Autoloader::get_classes_map()
S
72 2 6
Templately\Base::get_instance()
S
69 2 7
Templately\Query::__construct()
S
78 2 3
Templately\Elementor::is_elementor()
S
78 2 3
Templately\REST::error()
S
65 2 9
Templately\Elementor::get_instance()
S
72 2 6
Templately\DB::update_user_specific_login_meta()
S
77 2 3
Templately\Autoloader::init()
S
72 2 6
Templately\Elementor::__construct()
S
64 2 10
Templately\Elementor::admin_scripts()
S
70 2 6
Templately\Query::instance()
S
72 2 6
Templately\Login::get_link_my_account()
S
73 2 4
Templately\DB::delete_user_specific_login_meta()
S
77 2 3
Templately\DB::get_user_specific_login_meta()
S
77 2 3
Templately\Elementor::get_export_link()
S
62 1 12
Templately\Admin\Settings::admin_menu()
S
64 1 11
Templately\Admin\Admin::header()
S
81 1 3
Templately\Login::get_user_login_choice()
S
79 1 3
Templately\DB::set_transient()
S
78 1 3
Templately\DB::delete_transient()
S
79 1 3
Templately\REST::__construct()
S
74 1 4
Templately\Admin\Admin::load_plugin_textdomain()
S
77 1 3
Templately\DB::get_transient()
S
80 1 3
Templately\Plugin::get_version()
S
80 1 3
Templately\Loader::add()
S
64 1 10
Templately\Autoloader::init_classes_map()
S
80 1 3
Templately\Autoloader::__construct()
S
79 1 3
Templately\Query::getFromLibrary()
S
68 1 7
Templately\REST::formattedError()
S
77 1 3
Templately\Admin\Metabox::metabox_display()
S
89 1 2
Templately\Login::set_link_my_account()
S
78 1 3
Templately\Helper::send_success()
S
75 1 4
Templately\Installer::init()
S
78 1 3
Templately\Admin\Admin::footer()
S
82 1 3
Templately\Admin\Admin::__construct()
S
70 1 6
Templately\Query::prepare()
S
78 1 3
Templately\API::__construct()
S
75 1 4
Templately\Installer::deactivate()
S
89 1 2
Templately\Helper::send_error()
S
75 1 4
Templately\Admin\Settings::display()
S
80 1 3
Templately\Plugin::get_name()
S
80 1 3
Templately\Admin\Metabox::metabox()
S
89 1 2
Templately\Plugin::run()
S
81 1 3
Templately\Elementor::enqueue_styles()
S
78 1 3
Templately\Loader::add_action()
S
77 1 3
Templately\Login::delete_link_my_account()
S
79 1 3
Templately\Loader::add_filter()
S
77 1 3
Templately\Admin\Settings::init()
S
81 1 3