Branch Coverage

examples/elf.pl
Criterion Covered Total %
branch 2 52 3.8


line true false branch
31 0 1 unless (GetOptions \%opt, ('list|l', 'info|i', 'debug', 'section|s=s', 'symbols'))
40 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]
229 0 0 unless ($ident[0] == 127 and pack('C*', @ident[1..3]) eq 'ELF')
235 0 0 if ($ident[4] == 0)
236 0 0 if ($ident[4] > 2)
237 0 0 $ident[4] == 1 ? :
242 0 0 if ($ident[5] == 0)
243 0 0 if ($ident[5] > 2)
244 0 0 $ident[5] == 1 ? :
249 0 0 @_ > 2 ? :
260 0 0 if $opt{'debug'}
279 0 0 if $opt{'debug'}
290 0 0 if ($sec == 0 or $sec >= 65280)
294 0 0 $sec < @section ? :
301 0 0 if ($opt{'info'})
311 0 0 if ($opt{'list'})
328 0 0 if ($opt{'symbols'})
329 0 0 unless my $symtab = $section{'.symtab'}
330 0 0 unless my $strtab = $section{'.strtab'}
340 0 0 if $opt{'debug'}
356 0 0 if ($opt{'section'})
357 0 0 $opt{'section'} =~ /^\d+$/ ? :
360 0 0 unless defined $sec