Branch Coverage

blib/lib/Parse/Win32Registry/WinNT/Entry.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
19 0 70 unless defined $regfile
20 0 70 unless defined $offset
26 0 70 if ($bytes_read != 8)
34 60 10 if ($length > 2147483647)
39 24 46 unless $tag =~ /(nk|vk|lh|lf|li|ri|sk)/
41 24 46 if ($tag eq 'nk') { }
10 36 elsif ($tag eq 'vk') { }
2 34 elsif ($tag eq 'sk') { }
42 24 0 if (my $key = 'Parse::Win32Registry::WinNT::Key'->new($regfile, $offset))
50 10 0 if (my $value = 'Parse::Win32Registry::WinNT::Value'->new($regfile, $offset))
57 2 0 if (my $value = 'Parse::Win32Registry::WinNT::Security'->new($regfile, $offset))
79 0 34 if ($tag eq 'nk') { }
0 34 elsif ($tag eq 'vk') { }
0 34 elsif ($tag eq 'sk') { }
10 24 elsif ($tag =~ /(lh|lf|li|ri)/) { }
98 0 0 defined $tag && $tag ne '' ? :