Branch Coverage

blib/lib/Linux/Info/Compilation.pm
Criterion Covered Total %
branch 35 74 47.3


line true false branch
240 0 33 unless $self->{$stat}
241 0 33 if (@keys)
244 0 33 wantarray ? :
256 0 96 unless $self->{$stat}
257 0 96 if ($sub)
259 0 0 unless exists $ref->{$sub}
260 0 0 if (@keys) { }
264 0 0 wantarray ? :
267 0 96 wantarray ? :
275 0 14 unless (ref $stats eq 'HASH')
283 2 0 ref $_[0] eq 'HASH' ? :
289 0 5 unless (ref $filter->{$opt} eq 'HASH')
294 0 5 unless exists $self->{$opt}
304 0 10 if (ref $fref->{$x} eq 'HASH') { }
308 0 0 unless exists $proc->{$x}
312 0 0 if (exists $subref->{$name} and $self->_compare($subref->{$name}, $value))
321 23 2 if (ref $proc->{$key} eq 'HASH') { }
323 0 23 if (ref $subref->{$x} eq 'HASH') { }
23 0 elsif (defined $subref->{$x} and $self->_compare($subref->{$x}, $fref->{$x})) { }
325 0 0 if ($self->_compare($subref->{$x}{$y}, $fref->{$x}))
344 2 0 if (defined $proc->{$x} and $self->_compare($proc->{$x}, $fref->{$x}))
356 0 2 wantarray ? :
361 1 0 ref $_[0] eq 'HASH' ? :
362 0 1 unless my $proc = $self->{'processes'}
368 5 0 if (exists $proc->{$key})
369 0 5 if (ref $proc->{$key} eq 'HASH') { }
5 0 elsif ($self->_compare($proc->{$key}, $value)) { }
371 0 0 if ($self->_compare($v, $value))
385 0 1 wantarray ? :
390 0 1 unless ($key)
399 1 0 if ($count)
402 1 0 wantarray ? :
412 6 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://) { }