Code Analysis: Show Google Analytics widget 1.4.2

Function Rating Maintainability Complexity Lines of code
gapi::requestReportData()
B
37 20 69
SigGaWidget::ga_settings_page()
B
37 14 80
Sig_Ga_Count_Widget::widget()
A
43 14 45
SigGaWidget::call_ga_api()
A
46 12 38
gapi::reportObjectMapper()
A
42 10 49
gapiOAuth2::fetchToken()
A
43 9 45
SigGaWidget::check_ga_config()
A
56 8 18
gapiRequest::fopenRequest()
S
49 7 29
gapi::ArrayKeyExists()
S
59 6 15
SigGaWidget::get_today_views()
S
50 5 30
SigGaWidget::get_total_views()
S
51 5 27
gapiRequest::request()
S
59 5 13
gapiRequest::curlRequest()
S
53 4 24
gapiReportEntry::__call()
S
58 4 15
gapi::__call()
S
58 4 15
SigGaWidget::add_view_in_the_content()
S
64 5 9
gapi::accountObjectMapper()
S
59 4 14
SigGaWidget::wpajax_get_pv()
S
61 4 11
Sig_Ga_Count_Widget::form()
S
53 3 25
SigGaWidget::shortcode_post_pageviews()
S
56 3 19
SigGaWidget::show_today_views()
S
61 4 10
SigGaWidget::show_total_views()
S
61 4 10
SigGaWidget::handle_file_upload()
S
64 4 9
gapiAccountEntry::__call()
S
62 3 11
gapi::cleanErrorResponse()
S
62 3 11
SigGaWidget::add_ga_view_page()
S
55 2 22
SigGaWidget::get_post_views()
S
56 2 19
gapi::processFilter()
S
58 2 14
gapi::requestAccountData()
S
59 2 13
gapi::getResults()
S
79 2 3
gapi::getAccounts()
S
79 2 3
SigGaWidget::get_ga_config()
S
68 2 8
gapiRequest::getUrl()
S
66 2 8
gapiAccountEntry::__toString()
S
75 2 4
gapi::__construct()
S
67 2 7
Sig_Ga_Count_Widget::update()
S
64 2 9
gapiOAuth2::generateAuthHeader()
S
72 2 5
gapiReportEntry::__toString()
S
75 2 4
SigGaWidget::add_ga_view_scripts()
S
66 2 7
SigGaWidget::__construct()
S
59 1 13
gapiReportEntry::getMetrics()
S
82 1 3
SigGaWidget::setting_ga_option_menu()
S
65 1 10
gapiOAuth2::getToken()
S
82 1 3
gapi::getMetrics()
S
82 1 3
gapi::getTokenInfo()
S
81 1 3
Sig_Ga_Count_Widget::__construct()
S
67 1 9
gapi::getToken()
S
81 1 3
SigGaWidget::register_ga_widget()
S
81 1 3
gapi::revokeToken()
S
81 1 3
gapiOAuth2::base64URLEncode()
S
77 1 3
gapiAccountEntry::getProperties()
S
82 1 3
SigGaWidget::register_ga_opt_var()
S
78 1 3
gapiReportEntry::__construct()
S
77 1 4
SigGaWidget::add_ga_view_menu()
S
66 1 9
gapiRequest::__construct()
S
81 1 3
gapiRequest::post()
S
79 1 3
SigGaWidget::custom_upload_mimes()
S
76 1 4
gapiReportEntry::getDimensions()
S
82 1 3
gapiRequest::get()
S
79 1 3
SigGaWidget::plugin_settings_link()
S
72 1 5
gapiOAuth2::base64URLDecode()
S
76 1 3
gapiAccountEntry::__construct()
S
81 1 3