| blib/lib/TAPx/Parser/Iterator.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % | 
| branch | 19 | 22 | 86.3 | 
| line | true | false | branch | 
|---|---|---|---|
| 62 | 55 | 26 | if ($ref eq 'GLOB' or $ref eq 'IO::Handle') { } | 
| 26 | 0 | elsif ($ref eq 'ARRAY') { } | |
| 116 | 0 | 53 | unless @_ | 
| 131 | 186 | 68 | if (defined($line = $$self{'next'})) { } | 
| 132 | 139 | 47 | if (defined(my $next = <$fh>)) { } | 
| 141 | 59 | 9 | unless $$self{'is_last'} | 
| 144 | 16 | 52 | if (not defined $line) { } | 
| 163 | 0 | 254 | if (defined $line and $line =~ /^\s*not\s*$/) | 
| 175 | 60 | 3 | if (defined $$self{'pid'}) | 
| 176 | 52 | 8 | if ($$self{'pid'} == waitpid($$self{'pid'}, 0)) | 
| 208 | 47 | 1 | (shift())->is_last ? : |