Branch Coverage

blib/lib/Parse/Readelf.pm
Criterion Covered Total %
branch 29 30 96.6


line true false branch
139 1 5 unless ($file_name)
141 1 4 if (ref $this)
143 1 4 unless (-f $file_name)
153 0 4 unless defined $self{'line_info'} and defined $self{'debug_info'}
214 34 84 if $level_name_width < $width
215 3 115 if $offset_width < length $_->[$Parse::Readelf::OFFSET]
217 2 116 if defined $_->[$Parse::Readelf::BITOFFSET] and $bit_offset_width < length($_->[$Parse::Readelf::BITOFFSET]) + 1
220 93 25 $_->[$Parse::Readelf::TYPE] ne '' ? :
222 18 100 if defined $_->[$Parse::Readelf::BITSIZE]
223 16 102 if $width > $type_width
227 2 7 $print_location ? :
234 93 25 $_->[$Parse::Readelf::TYPE] ne '' ? :
18 100 defined $_->[$Parse::Readelf::BITSIZE] ? :
240 8 110 if ($print_location and defined $_->[$Parse::Readelf::LOCATION])
248 18 100 defined $_->[$Parse::Readelf::BITOFFSET] ? :