Branch Coverage

blib/lib/Google/Ads/GoogleAds/Logging/GoogleAdsLogger.pm
Criterion Covered Total %
branch 24 34 70.5


line true false branch
63 6 7 unless ("Log::Log4perl"->initialized)
66 5 1 unless defined $log4perl_conf
72 1 5 if (-r $log4perl_conf) { }
75 0 5 unless -d $logs_folder
81 6 7 unless ($summary_logger and $detail_logger)
91 0 0 if ($_[0]) { }
107 0 0 if ($_[0]) { }
122 1 1 if ($_[0]) { }
155 1 1 unless $http_response->is_success and $summary_logger->is_info or not $http_response->is_success and $summary_logger->is_warn
158 3 0 $http_request->uri =~ m[customers/\d+] ? :
3 0 $http_response->header('request-id') ? :
170 2 1 if ($http_response->is_success) { }
186 2 1 unless $http_response->is_success and $detail_logger->is_debug or not $http_response->is_success and $detail_logger->is_info
198 1 1 if ($http_response->is_success) { }
224 0 1 unless $fault_message
226 0 1 unless $fault_message
238 1 0 if $faults