Branch Coverage

blib/lib/App/Dochazka/CLI/Commands/History.pm
Criterion Covered Total %
branch 10 66 15.1


line true false branch
91 0 2 if $App::Dochazka::CLI::Commands::History::debug_mode
95 2 0 if $ts eq 'PARSE_TEST'
98 0 0 $th->{'EMPLOYEE_SPEC'} ? :
116 0 2 if $App::Dochazka::CLI::Commands::History::debug_mode
120 2 0 if $ts eq 'PARSE_TEST'
123 0 0 $th->{'EMPLOYEE_SPEC'} ? :
145 0 4 if $App::Dochazka::CLI::Commands::History::debug_mode
149 4 0 if $ts eq 'PARSE_TEST'
152 0 0 $th->{'EMPLOYEE_SPEC'} ? :
176 0 4 if $App::Dochazka::CLI::Commands::History::debug_mode
180 4 0 if $ts eq 'PARSE_TEST'
183 0 0 $th->{'EMPLOYEE_SPEC'} ? :
208 0 4 if $App::Dochazka::CLI::Commands::History::debug_mode
212 4 0 if $ts eq 'PARSE_TEST'
215 0 0 if ($th->{'PHISTORY_SPEC'}) { }
0 0 elsif ($th->{'SHISTORY_SPEC'}) { }
258 0 0 unless $status->ok
263 0 0 if (exists $ARGS{'priv'}) { }
0 0 elsif (exists $ARGS{'scode'}) { }
0 0 elsif (exists $ARGS{'sid'}) { }
271 0 0 if ($status->ok and $status->code eq 'DISPATCH_SCHEDULE_FOUND') { }
293 0 0 if ($status->ok and $status->code eq 'DOCHAZKA_CUD_OK')
294 0 0 if ($type eq 'priv') { }
0 0 elsif ($type eq 'schedule') { }
322 0 0 unless $status->ok
324 0 0 unless $eid
328 0 0 if ($status->ok)
330 0 0 if ($type eq 'priv') { }
0 0 elsif ($type eq 'schedule') { }
394 0 0 if ($status->ok) { }
426 0 0 if ($emp_spec->can('eid')) { }
0 0 elsif (ref $emp_spec eq '') { }
430 0 0 unless $status->ok