| blib/lib/Test2/IPC/Driver/Files.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 28 | 38 | 73.6 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 324 | 16 | 14 | 85 | $parsed->{'global'} and $self->{'globals'}{$hid}{$file}++ |
| 337 | 38 | 4 | 8 | $Test2::IPC::Driver::Files::a->{'global'} and not $Test2::IPC::Driver::Files::b->{'global'} |
| 338 | 34 | 4 | 4 | $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' |
| 249 | 6 | 7 | $self->{'read_ids'}{$info->{'hid'}}{$info->{'pid'}}{$info->{'tid'}} ||= 1 |
| 289 | 5 | 125 | substr($file, -9, 9) eq '.complete' || 0 |
| 290 | 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 { |
| 160 | 21 | 17 | 1 | $global or -f $hfile |
| 251 | 0 | 13 | 0 | $$timeouts{$info->{'file'}} ||= time |
| 322 | 99 | 16 | 1 | $parsed->{'global'} or $parsed->{'hid'} eq $hid |
| 342 | 21 | 17 | 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'} |
| 406 | 0 | 5 | 1 | $aborted or $file =~ /^(GLOBAL|HUB$sep)/ |