Branch Coverage

blib/lib/App/Dochazka/REST/Model/Component.pm
Criterion Covered Total %
branch 0 26 0.0


line true false branch
156 0 0 unless $self->{'path'} and $self->{'source'} and $self->{'acl'} and scalar grep({$self->{'acl'} eq $_;} 'admin', 'active', 'inactive', 'passerby')
168 0 0 if $status->ok
193 0 0 unless $self->{'cid'} and $self->{'path'} || $self->{'source'} || $self->{'acl'}
200 0 0 if $self->{'acl'} and not scalar grep({$self->{'acl'} eq $_;} 'admin', 'active', 'inactive', 'passerby')
212 0 0 if $status->ok
238 0 0 if ($status->ok)
310 0 0 unless open my $fh, '>', $full_path
327 0 0 if ($count == 1) { }
349 0 0 unless $path =~ m[^/]u
353 0 0 unless -e $full_path
354 0 0 unless -r $full_path
359 0 0 unless $path =~ /\.m[cp]$/u
403 0 0 if $status->code eq 'DISPATCH_RECORDS_FOUND'