Branch Coverage

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


line true false branch
187 0 0 if $self->partial
214 0 0 unless $self->{'iid'}
216 0 0 if $self->partial
243 0 0 if $self->partial
254 0 0 if $status->ok
296 0 0 unless $status->ok
300 0 0 unless $status->ok
334 0 0 unless $status->ok
338 0 0 unless $status->ok
340 0 0 unless $emp->eid == $eid
345 0 0 if ($priv_change)
352 0 0 if ($schedule_change)
362 0 0 unless $status->ok and $status->code eq 'DISPATCH_RECORDS_FOUND' or $status->level eq 'NOTICE' and $status->code eq 'DISPATCH_NO_RECORDS_FOUND'
373 0 0 unless $status->ok and $status->code eq 'DISPATCH_RECORDS_FOUND' or $status->level eq 'NOTICE' and $status->code eq 'DISPATCH_NO_RECORDS_FOUND'
389 0 0 if (my $count = scalar @$result_set)
414 0 0 unless $status->ok
419 0 0 unless $status->ok
421 0 0 if ($status->payload > 0)
426 0 0 unless $status->ok
428 0 0 unless $emp->eid == $eid
435 0 0 if ($priv_change)
442 0 0 if ($schedule_change)
452 0 0 unless $status->ok
457 0 0 if $count >= $App::Dochazka::REST::Model::Interval::site->DOCHAZKA_INTERVAL_DELETE_LIMIT
490 0 0 unless $status->ok
496 0 0 unless $status->ok
507 0 0 unless $begin_time eq '00:00' || $begin_time eq '24:00' and $end_time eq '00:00' || $end_time eq '24:00'
521 0 0 if ($status->ok and $status->code eq 'DISPATCH_RECORDS_FOUND') { }
0 0 elsif ($status->level eq 'NOTICE' and $status->code eq 'DISPATCH_NO_RECORDS_FOUND') { }