Branch Coverage

blib/lib/Net/Fastly.pm
Criterion Covered Total %
branch 6 54 11.1


line true false branch
33 52 208 if $method eq 'list'
35 0 260 if $method eq 'list' and $class->_skip_list
37 4 256 if defined *$glob
141 0 1 if ($user and $customer)
165 0 0 unless $self->fully_authed
166 0 0 unless $self->current_user->can_do('admin')
194 0 0 unless $self->fully_authed
205 0 0 unless $self->authed
218 0 0 if $self->{'__cache_commands'}
279 0 0 if $opts{'aggregate'} and $opts{'field'} || $opts{'service'}
283 0 0 if (delete $opts{'aggregate'})
287 0 0 if (my $service = delete $opts{'service'})
291 0 0 if (my $field = delete $opts{'field'})
325 0 0 if delete $opts{'by_service'}
542 0 0 unless $list
550 0 0 if (@_) { }
555 0 0 unless $hash
580 0 0 if 'HASH' eq ref $obj
602 0 0 unless -f $file
604 0 0 unless open my $fh, $file
607 0 0 if /^#/
608 0 0 if /^\s*$/
609 0 0 unless /=/
633 0 0 unless -f $config
638 0 0 if ($1 eq 'config') { }
639 0 0 unless -f $2
647 0 0 unless keys %options