Branch Coverage

blib/lib/LINE/Bot/API.pm
Criterion Covered Total %
branch 18 30 60.0


line true false branch
93 1 24 if ($options and defined $options->{'retry_key'})
112 0 1 if ($options and defined $options->{'retry_key'})
131 1 1 if (defined $options->{'retry_key'})
228 0 1 unless my $date = $opts->{'date'}
351 0 1 unless ($content_type)
363 1 0 if ($res->{'http_status'} eq '200') { }
391 1 0 if ($res->{'http_status'} eq '200') { }
411 1 0 if ($res->{'http_status'} eq '200') { }
428 1 0 if ($res->{'http_status'} eq '200') { }
445 1 1 if ($res->{'http_status'} eq '200') { }
454 0 1 unless my $date = $opts->{'date'}
462 0 1 unless my $requestId = $opts->{'requestId'}
476 0 1 unless defined $opts->{'endpoint'}
484 1 0 if ($res->{'http_status'} eq '200') { }
501 1 0 if ($opts->{'endpoint'})