Code Analysis: Google Photos Albums Gallery 4.0.3

Function Rating Maintainability Complexity Lines of code
cws_gpp_shortcode_images_in_album_google_photos()
D
29 38 107
cws_gpp_shortcode_albums_google_photos()
C
34 25 82
Google_Photos_Albums_Gallery_Admin::options_page_fn()
A
44 8 61
Google_Photos_Albums_Gallery_Admin::validate_main_options_fn()
A
58 11 13
Google_Photos_Albums_Gallery_Admin::options_page_gs_fn()
S
46 3 88
App\Photocontroller::listMediaItems()
S
46 6 37
Google_Photos_Albums_Gallery_Admin::cws_gpp_admin_installed_notice()
S
55 5 22
Google_Photos_Albums_Gallery_Admin::auth_code_input_fn()
S
55 4 19
App\Photocontroller::listAlbums()
S
50 3 26
Google_Photos_Albums_Gallery_Admin::includes()
S
63 4 10
Google_Photos_Albums_Gallery_Admin::register_settings()
S
49 2 27
Google_Photos_Albums_Gallery_Activator::activate()
S
51 2 27
Google_Photos_Albums_Gallery_Admin::options_page_sc_fn()
S
60 2 25
Google_Photos_Albums_Gallery_Admin::options_show_image_details_fn()
S
67 3 7
Google_Photos_Albums_Gallery_Admin::options_enable_download_fn()
S
67 3 7
Google_Photos_Albums_Gallery_Loader::run()
S
66 3 8
Google_Photos_Albums_Gallery_Admin::options_client_id_fn()
S
66 3 8
Google_Photos_Albums_Gallery_Admin::options_client_secret_fn()
S
66 3 8
Google_Photos_Albums_Gallery_Admin::validate_reset_options_fn()
S
74 3 4
Google_Photos_Albums_Gallery_Admin::cws_gpp_ignore_upgrade()
S
69 3 6
Google_Photos_Albums_Gallery_Admin::haveGapiSettings()
S
65 3 9
Google_Photos_Albums_Gallery_Admin::isAuthenticated()
S
68 3 7
App\GooglePhotoService::getPhotosLibraryClient()
S
58 2 15
Google_Photos_Albums_Gallery::__construct()
S
61 2 13
Google_Photos_Albums_Gallery_Admin::options_page_gapi_fn()
S
62 1 19
Google_Photos_Albums_Gallery_Admin::missing_credentials_text_fn()
S
60 1 16
Google_Photos_Albums_Gallery_Admin::admin_includes()
S
75 2 4
Google_Photos_Albums_Gallery_Admin::options_show_album_title_fn()
S
68 2 7
Google_Photos_Albums_Gallery_Admin::options_show_image_title_fn()
S
68 2 7
Google_Photos_Albums_Gallery_Admin::options_show_album_details_fn()
S
68 2 7
cws_gpp_google_class()
S
64 2 10
cws_gpp_output_album_id()
S
71 2 6
Google_Photos_Albums_Gallery_Admin::options_reset_fn()
S
70 2 6
Google_Photos_Albums_Gallery_Admin::createAuthLink()
S
67 2 8
Google_Photos_Albums_Gallery_Admin::deauthorizeGoogleAccount()
S
74 2 5
App\GooglePhotoService::createGoogleClient()
S
58 1 15
Google_Photos_Albums_Gallery_Deactivator::deactivate()
S
89 1 2
App\GooglePhotoService::createAuthUrl()
S
76 1 4
Google_Photos_Albums_Gallery::get_version()
S
82 1 3
deactivate_google_photos_albums_gallery()
S
76 1 4
Google_Photos_Albums_Gallery_Loader::add_filter()
S
77 1 3
Google_Photos_Albums_Gallery_Admin::validate_options_fn()
S
77 1 4
Google_Photos_Albums_Gallery::get_plugin_name()
S
82 1 3
Google_Photos_Albums_Gallery_Public::enqueue_styles()
S
74 1 4
Google_Photos_Albums_Gallery_Admin::__construct()
S
71 1 6
Google_Photos_Albums_Gallery_Admin::enqueue_styles()
S
77 1 3
Google_Photos_Albums_Gallery::define_public_hooks()
S
72 1 5
Google_Photos_Albums_Gallery::define_admin_hooks()
S
66 1 8
Google_Photos_Albums_Gallery_Admin::section_text_gapi_fn()
S
70 1 6
Google_Photos_Albums_Gallery_Admin::options_num_image_results_fn()
S
72 1 5
Google_Photos_Albums_Gallery_Admin::options_page_gpaidh_fn()
S
76 1 10
Google_Photos_Albums_Gallery_Public::__construct()
S
77 1 4
Google_Photos_Albums_Gallery_Admin::options_thumbnail_size_fn()
S
72 1 5
custom_query_vars_filter()
S
70 1 7
Google_Photos_Albums_Gallery::run()
S
82 1 3
Google_Photos_Albums_Gallery_i18n::load_plugin_textdomain()
S
69 1 7
Google_Photos_Albums_Gallery_Admin::validate_options_gapi_fn()
S
72 1 5
Google_Photos_Albums_Gallery_Admin::options_album_thumbnail_size_fn()
S
72 1 5
Google_Photos_Albums_Gallery_Loader::add_action()
S
77 1 3
Google_Photos_Albums_Gallery::get_isPro()
S
82 1 3
Google_Photos_Albums_Gallery_Admin::options_lightbox_image_size_fn()
S
72 1 5
Google_Photos_Albums_Gallery_Admin::options_num_album_results_fn()
S
72 1 5
Google_Photos_Albums_Gallery::load_dependencies()
S
66 1 8
Google_Photos_Albums_Gallery::get_loader()
S
82 1 3
Google_Photos_Albums_Gallery_Admin::add_options_submenu_page()
S
70 1 5
Google_Photos_Albums_Gallery_Loader::add()
S
64 1 10
cws_do_output_buffer()
S
83 1 3
Google_Photos_Albums_Gallery_Admin::section_main_text_fn()
S
83 1 3
Google_Photos_Albums_Gallery_Admin::add_menu_page()
S
74 1 4
Google_Photos_Albums_Gallery::set_locale()
S
75 1 4
Google_Photos_Albums_Gallery_Admin::enqueue_scripts()
S
77 1 3
Google_Photos_Albums_Gallery_Loader::__construct()
S
77 1 4
activate_google_photos_albums_gallery()
S
76 1 4
Google_Photos_Albums_Gallery_Public::enqueue_scripts()
S
70 1 5
App\Photocontroller::__construct()
S
73 1 5
Google_Photos_Albums_Gallery_Admin::section_reset_text_fn()
S
100 1 2
App\GooglePhotoService::getAccessToken()
S
73 1 5
run_google_photos_albums_gallery()
S
77 1 4
App\Photocontroller::start()
S
73 1 5