Branch Coverage

examples/elf.pl
Criterion Covered Total %
branch 2 54 3.7


line true false branch
23 0 1 unless (&GetOptions(\%opt, ('list|l', 'info|i', 'debug', 'section|s=s', 'symbols')))
32 1 0 unless (@ARGV)
198 0 0 ref $v eq 'HASH' ? :
0 0 unless ref $v eq 'HASH' ? $v->{$x} : $v->[$x]
217 0 0 unless open FH, $ARGV[0]
230 0 0 unless ($ident[0] == 127 and pack('C*', @ident[1..3]) eq 'ELF')
236 0 0 if ($ident[4] == 0)
237 0 0 if ($ident[4] > 2)
238 0 0 $ident[4] == 1 ? :
243 0 0 if ($ident[5] == 0)
244 0 0 if ($ident[5] > 2)
245 0 0 $ident[5] == 1 ? :
250 0 0 @_ > 2 ? :
261 0 0 if $opt{'debug'}
277 0 0 if $opt{'debug'}
288 0 0 if $opt{'debug'}
299 0 0 if ($sec == 0 or $sec >= 65280)
304 0 0 $sec < @section ? :
310 0 0 if ($opt{'info'})
320 0 0 if ($opt{'list'})
337 0 0 if ($opt{'symbols'})
338 0 0 unless my $symtab = $section{'.symtab'}
339 0 0 unless my $strtab = $section{'.strtab'}
349 0 0 if $opt{'debug'}
365 0 0 if ($opt{'section'})
367 0 0 $opt{'section'} =~ /^\d+$/ ? :
369 0 0 unless defined $sec