Branch Coverage

blib/lib/Linux/Info/Compilation.pm
Criterion Covered Total %
branch 36 74 48.6


line true false branch
240 0 18 unless $self->{$stat}
241 0 18 if (@keys)
244 0 18 wantarray ? :
256 0 96 unless $self->{$stat}
258 0 96 if ($sub)
260 0 0 unless exists $ref->{$sub}
262 0 0 if (@keys) { }
266 0 0 wantarray ? :
269 0 96 wantarray ? :
277 0 13 unless (ref $stats eq 'HASH')
285 2 0 ref $_[0] eq 'HASH' ? :
291 0 5 unless (ref $filter->{$opt} eq 'HASH')
296 0 5 unless exists $self->{$opt}
306 0 10 if (ref $fref->{$x} eq 'HASH') { }
310 0 0 unless exists $proc->{$x}
314 0 0 if (exists $subref->{$name} and $self->_compare($subref->{$name}, $value))
323 26 2 if (ref $proc->{$key} eq 'HASH') { }
325 0 26 if (ref $subref->{$x} eq 'HASH') { }
24 2 elsif (defined $subref->{$x} and $self->_compare($subref->{$x}, $fref->{$x})) { }
327 0 0 if ($self->_compare($subref->{$x}{$y}, $fref->{$x}))
346 2 0 if (defined $proc->{$x} and $self->_compare($proc->{$x}, $fref->{$x}))
358 0 2 wantarray ? :
363 1 0 ref $_[0] eq 'HASH' ? :
364 0 1 unless my $proc = $self->{'processes'}
370 5 0 if (exists $proc->{$key})
371 0 5 if (ref $proc->{$key} eq 'HASH') { }
5 0 elsif ($self->_compare($proc->{$key}, $value)) { }
373 0 0 if ($self->_compare($v, $value))
387 0 1 wantarray ? :
392 0 1 unless ($key)
401 1 0 if ($count)
404 1 0 wantarray ? :
414 9 24 if (ref $y eq 'Regexp') { }
1 23 elsif ($y =~ s/^eq://) { }
2 21 elsif ($y =~ s/^ne://) { }
3 18 elsif ($y =~ s/^gt://) { }
18 0 elsif ($y =~ s/^lt://) { }