Code Analysis: Liza Spotify Widget For Elementor 2.0.0

Function Rating Maintainability Complexity Lines of code
LizaSpotify\Widgets\SpotifyProfile::register_controls()
D
15
1 659
LizaSpotify\Widgets\SpotifyProfile::render()
A
41 11 64
LizaSpotify\Admin\Settings::render_settings_page()
A
39 5 80
LizaSpotify\Widgets\SpotifyEmbed::render()
A
45 7 47
LizaSpotify\Admin\Settings::render_dashboard_widget()
S
44 4 56
LizaSpotify\SpotifyAPI\Client::refresh_access_token()
S
51 5 27
LizaSpotify\Admin\Settings::handle_spotify_callback()
S
53 5 24
LizaSpotify\Admin\Settings::handle_spotify_disconnect()
S
55 4 19
LizaSpotify\SpotifyAPI\Client::handle_auth_callback()
S
53 3 23
LizaSpotify\Widgets\SpotifyEmbed::register_controls()
S
45 1 51
LizaSpotify\SpotifyAPI\Client::get_user_profile()
S
60 3 14
LizaSpotify::init()
S
61 3 12
LizaSpotify\Widgets\SpotifyEmbed::content_template()
S
53 1 41
LizaSpotify::elementor_missing_notice()
S
62 2 11
LizaSpotify\Admin\Settings::init_settings()
S
55 1 24
LizaSpotify::get_instance()
S
71 2 6
LizaSpotify\SpotifyAPI\Client::should_refresh_token()
S
74 2 4
LizaSpotify\SpotifyAPI\Client::get_access_token()
S
72 2 6
LizaSpotify::setup_hooks()
S
68 2 7
LizaSpotify\Admin\Settings::add_dashboard_widget()
S
63 1 12
LizaSpotify\SpotifyAPI\Client::get_auth_url()
S
62 1 11
LizaSpotify\Admin\Settings::add_admin_menu()
S
65 1 10
LizaSpotify\Admin\Settings::__construct()
S
65 1 8
LizaSpotify::__construct()
S
79 1 3
LizaSpotify\Widgets\SpotifyProfile::get_categories()
S
81 1 3
LizaSpotify\SpotifyAPI\Client::__construct()
S
68 1 7
LizaSpotify\Widgets\SpotifyEmbed::get_categories()
S
81 1 3
LizaSpotify\Admin\Settings::render_client_secret_field()
S
75 1 4
LizaSpotify\Widgets\WidgetLoader::__construct()
S
79 1 3
LizaSpotify\Admin\Settings::render_section_info()
S
78 1 3
LizaSpotify::add_elementor_widget_category()
S
67 1 9
LizaSpotify\Widgets\SpotifyEmbed::get_name()
S
82 1 3
LizaSpotify\Widgets\SpotifyEmbed::get_title()
S
79 1 3
LizaSpotify\Widgets\SpotifyProfile::get_name()
S
82 1 3
LizaSpotify::load_dependencies()
S
74 1 5
LizaSpotify\Widgets\SpotifyProfile::get_title()
S
79 1 3
LizaSpotify\Widgets\SpotifyProfile::get_icon()
S
82 1 3
LizaSpotify::activate()
S
69 1 7
LizaSpotify\Admin\Settings::render_client_id_field()
S
75 1 4
LizaSpotify::deactivate()
S
91 1 2
LizaSpotify\Widgets\WidgetLoader::register_widgets()
S
70 1 6
LizaSpotify\Widgets\SpotifyEmbed::get_icon()
S
82 1 3
LizaSpotify\Widgets\SpotifyProfile::__construct()
S
74 1 4