Branch Coverage

blib/lib/App/Dochazka/REST.pm
Criterion Covered Total %
branch 2 50 4.0


line true false branch
191 0 0 if $status
200 0 0 if ($mode eq 'create') { }
0 0 elsif ($mode eq 'delete') { }
261 0 39 unless $statedir
262 39 0 unless -r $statedir
263 0 0 unless -w $statedir
264 0 0 unless -x $statedir
279 0 0 unless $status->ok
348 0 0 if ($status->not_ok)
359 0 0 if ($status->not_ok)
386 0 0 unless $status->ok
396 0 0 unless exists $actdef->{'validations'}
407 0 0 unless $status->ok
410 0 0 if ($App::Dochazka::REST::site->DOCHAZKA_AUDITING)
412 0 0 unless $status->ok
451 0 0 unless $status->ok
476 0 0 if (ref $ARGS eq 'HASH' and exists $ARGS->{'quiet'})
481 0 0 unless $quiet
486 0 0 unless $status->ok
488 0 0 unless $quiet
491 0 0 if $should_reset
494 0 0 unless $quiet
496 0 0 unless ($App::Dochazka::REST::site->MREST_APPNAME)
504 0 0 unless $quiet
506 0 0 unless $quiet