Branch Coverage

blib/lib/App/EventStreamr/Devices.pm
Criterion Covered Total %
branch 5 30 16.6


line true false branch
24 0 25 if ($v4l)
25 0 25 if ($dv)
26 0 25 if ($alsa)
27 0 25 if ($v4l or $dv or $alsa) { }
58 0 0 if (-e "$dv/vendor")
60 0 0 if -e "$dv/vendor_name"
62 0 0 if $vendor_name eq '0x002011'
64 0 0 unless ($vendor_name eq 'Linux Firewire')
67 0 0 if $vendor_name eq 'Canopus'
68 0 0 if -e "$dv/model_name"
86 0 25 if (-e '/proc/asound/cards')
117 0 0 if (realpath($usb) =~ /$index/)
122 0 0 if ($name =~ /^[^+s]{4}_[^+s]{4}$/) { }
131 0 0 unless ($name)
134 0 0 if (realpath($pci) =~ /$index/)