Branch Coverage

blib/lib/LINE/Bot/API.pm
Criterion Covered Total %
branch 22 34 64.7


line true false branch
96 1 24 if ($options and defined $options->{'retry_key'})
115 0 1 if ($options and defined $options->{'retry_key'})
134 1 1 if (defined $options->{'retry_key'})
231 0 1 unless my $date = $opts->{'date'}
354 0 1 unless ($content_type)
366 1 0 if ($res->{'http_status'} eq '200') { }
400 1 0 if ($res->{'http_status'} eq '200') { }
420 1 0 if ($res->{'http_status'} eq '200') { }
437 1 0 if ($res->{'http_status'} eq '200') { }
454 1 1 if ($res->{'http_status'} eq '200') { }
463 0 1 unless my $date = $opts->{'date'}
471 0 1 unless my $requestId = $opts->{'requestId'}
485 0 1 unless defined $opts->{'endpoint'}
493 1 0 if ($res->{'http_status'} eq '200') { }
510 1 0 if ($opts->{'endpoint'})
592 2 2 if exists $opts->{'limit'}
593 2 2 if exists $opts->{'start'}