Branch Coverage

lib/File/Type/Builder.pm
Criterion Covered Total %
branch 0 24 0.0


line true false branch
34 0 0 unless ($$parsed{'pattern_type'} =~ /^(string|beshort|belong)/)
39 0 0 if ($data =~ /^\&/)
48 0 0 unless $1 =~ /^\s+$/
49 0 0 unless $pattern =~ /\\\s$/
52 0 0 unless defined $pattern
54 0 0 unless $pattern =~ /\\\s$/
64 0 0 if length $data
67 0 0 unless (length $$parsed{'mime_type'} and $$parsed{'mime_type'} =~ m[^[^/]*/[^/]*$])
86 0 0 if ($$parsed{'offset'}) { }
104 0 0 unless $$escape{$1}
113 0 0 if ($tab)
134 0 0 if ($pattern =~ s/^0x//) { }