line |
true |
false |
branch |
32
|
0 |
0 |
if ($device =~ /^dm-(\d+)$/)
|
36
|
0 |
0 |
unless ($want_minor)
|
43
|
0 |
0 |
unless ($dm_major)
|
53
|
0 |
0 |
if ($major == $dm_major and $minor == $want_minor)
|
57
|
0 |
0 |
if (defined $display_name) { }
|
79
|
0 |
0 |
if ($device_name =~ /(?<!-)-(?!-)/)
|
90
|
0 |
0 |
if ($no_stat) { }
|
|
0 |
0 |
elsif (stat $device_name) { }
|
106
|
0 |
0 |
if ($entry =~ m[^/dev/([^/]+)/(.*)$])
|
118
|
0 |
0 |
if ($no_stat) { }
|
|
0 |
0 |
elsif (stat $device_name) { }
|
135
|
0 |
0 |
if (open my $fh, '<', '/proc/devices')
|
145
|
0 |
0 |
unless defined $name
|
147
|
0 |
0 |
if ($name eq 'device-mapper')
|