Condition Coverage

blib/lib/WebService/Browshot.pm
Criterion Covered Total %
condition 4 71 5.6


and 3 conditions

line !l l&&!r l&&r condition
485 0 0 0 exists $args{'url'} and $args{'url'} =~ m[image/(\d+)\?]i
0 0 0 exists $args{'url'} and $args{'url'} =~ m[image/(\d+)\?]i and not exists $args{'id'}
489 0 0 0 $args{'url'} =~ /&width=(\d+)\?/i and not exists $args{'width'}
492 0 0 0 $args{'url'} =~ /&height=(\d+)\?/i and not exists $args{'height'}
764 0 0 0 $try < $$self{'_retry'} and defined $@
791 0 0 0 $try < $$self{'_retry'} and defined $@

or 2 conditions

line l !l condition
87 0 1 $args{'timeout'} || 90
93 1 0 $args{'key'} || ''
0 1 $args{'base'} || 'https://api.browshot.com/api/v1/'
0 1 $args{'debug'} || 0
783 0 0 $args{'file'} || ''
850 0 0 $args{'action'} || ''
851 0 0 $args{'parameters'} || {}

or 3 conditions

line l !l&&r !l&&!r condition
189 0 0 0 $args{'file'} || $self->error('Missing file in simple_file')
254 0 0 0 $args{'id'} || $self->error('Missing id in instance_info')
291 0 0 0 $args{'id'} || $self->error('Missing id in browser_info')
372 0 0 0 $args{'id'} || $self->error('Missing id in screenshot_info')
422 0 0 0 $args{'url'} || $self->error('Missing id in screenshot_search')
447 0 0 0 $args{'id'} || $self->error('Missing id in screenshot_host')
551 0 0 0 $args{'file'} || $self->error('Missing file in screenshot_thumbnail_file')
593 0 0 0 $args{'id'} || $self->error('Missing id in screenshot_share')
623 0 0 0 $args{'id'} || $self->error('Missing id in screenshot_delete')
648 0 0 0 $args{'id'} || $self->error('Missing id in screenshot_html')
708 0 0 0 $args{'file'} || $self->error('Missing file in batch_create')
709 0 0 0 $args{'instance_id'} || $self->error('Missing instance_id} in batch_create')
734 0 0 0 $args{'id'} || $self->error('Missing id in batch_info')