blib/lib/Test2/IPC/Driver/Files.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 28 | 38 | 73.6 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
351 | 16 | 14 | 85 | $parsed->{'global'} and $self->{'globals'}{$hid}{$file}++ |
364 | 35 | 3 | 8 | $Test2::IPC::Driver::Files::a->{'global'} and not $Test2::IPC::Driver::Files::b->{'global'} |
365 | 32 | 3 | 3 | $Test2::IPC::Driver::Files::b->{'global'} and not $Test2::IPC::Driver::Files::a->{'global'} |
line | l | !l | condition |
---|---|---|---|
126 | 0 | 0 | $@ || 'Unknown error reading file' |
276 | 6 | 7 | $self->{'read_ids'}{$info->{'hid'}}{$info->{'pid'}}{$info->{'tid'}} ||= 1 |
316 | 5 | 125 | substr($file, -9, 9) eq '.complete' || 0 |
317 | 124 | 6 | substr($file, -6, 6) eq '.ready' || 0 |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
26 | 0 | 83 | 0 | $ENV{'T2_TEMPDIR_TEMPLATE'} || 'test2~' . $$ . '~' . 'XXXXXX' |
140 | 1 | 0 | 0 | $ok ||= eval { do { require Data::Dumper; local $Data::Dumper::Sortkeys = 1; $data = Data::Dumper::Dumper(\%bad); 1 } } |
187 | 21 | 17 | 1 | $global or -f $hfile |
278 | 0 | 13 | 0 | $$timeouts{$info->{'file'}} ||= time |
349 | 99 | 16 | 1 | $parsed->{'global'} or $parsed->{'hid'} eq $hid |
369 | 22 | 13 | 0 | $Test2::IPC::Driver::Files::a->{'pid'} <=> $Test2::IPC::Driver::Files::b->{'pid'} || $Test2::IPC::Driver::Files::a->{'tid'} <=> $Test2::IPC::Driver::Files::b->{'tid'} || $Test2::IPC::Driver::Files::a->{'eid'} <=> $Test2::IPC::Driver::Files::b->{'eid'} |
433 | 0 | 5 | 1 | $aborted or $file =~ /^(GLOBAL|HUB$sep)/ |