Branch Coverage

blib/lib/App/Greple/Filter.pm
Criterion Covered Total %
branch 17 36 47.2


line true false branch
19 0 129 if @_
26 0 2 if (/([^:]+):(.*)/u) { }
45 520 2 if (ref $p eq 'ARRAY') { }
47 520 0 ref $exp eq 'CODE' ? :
0 520 if (ref $exp eq "CODE" ? &$exp : eval $exp)
50 0 0 if $_ ne $remember
64 5 2 ref $_[0] eq 'HASH' ? :
68 0 7 if $App::Greple::Filter::debug{'F'}
70 3 4 if ($pid == 0)
71 0 3 if ($filter =~ /^&/u and my $f = parse_func({'PACKAGE', $pkg}, $filter)) { }
74 0 0 if eof STDIN
78 0 0 if $@
89 2 0 ref $_[0] eq 'HASH' ? :
92 0 2 if $App::Greple::Filter::debug{'F'}
93 0 2 if ($filter =~ /^&/u and my $f = parse_func({'PACKAGE', $pkg}, $filter)) { }
95 0 0 if ($arg{&FILELABEL})
104 1 1 if ($pid == 0)
106 0 0 if $@