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
133 0 1 if ($user and $customer)
157 0 0 unless $self->fully_authed
158 0 0 unless $self->current_user->can_do('admin')
186 0 0 unless $self->fully_authed
197 0 0 unless $self->authed
210 0 0 if $self->{'__cache_commands'}
271 0 0 if $opts{'aggregate'} and $opts{'field'} || $opts{'service'}
275 0 0 if (delete $opts{'aggregate'})
279 0 0 if (my $service = delete $opts{'service'})
283 0 0 if (my $field = delete $opts{'field'})
317 0 0 if delete $opts{'by_service'}
534 0 0 unless $list
542 0 0 if (@_) { }
547 0 0 unless $hash
572 0 0 if 'HASH' eq ref $obj
594 0 0 unless -f $file
596 0 0 unless open my $fh, $file
599 0 0 if /^#/
600 0 0 if /^\s*$/
601 0 0 unless /=/
625 0 0 unless -f $config
630 0 0 if ($1 eq 'config') { }
631 0 0 unless -f $2
639 0 0 unless keys %options