Branch Coverage

blib/lib/Parse/Win32Registry/Win95/Value.pm
Criterion Covered Total %
branch 44 48 91.6


line true false branch
19 0 3190 unless defined $regfile
20 0 3190 unless defined $offset
37 1 3189 if ($bytes_read != 12)
47 1 3188 if ($bytes_read != $name_length)
54 1 3187 if ($bytes_read != $data_length)
81 0 222 unless defined $data
84 80 142 if ($type == 4) { }
32 110 elsif ($type == 5) { }
20 90 elsif ($type == 1 or $type == 2) { }
78 12 elsif ($type == 7) { }
85 65 15 if (length $data == 4) { }
94 20 12 if (length $data == 4) { }
106 10 10 if substr($data, -1, 1) eq "\000"
110 52 26 if substr($data, -1, 1) eq "\000"
111 26 52 if substr($data, -1, 1) eq "\000"
114 15 63 if @multi_sz == 0
115 30 48 wantarray ? :
126 1 38 $name eq '' ? :
136 4 35 if ($type == 1) { }
2 33 elsif ($type == 3) { }
12 21 elsif ($type == 4) { }
12 9 elsif ($type == 2 or $type == 7) { }
146 9 3 defined $data ? :
152 0 12 $version == 4 ? :