Branch Coverage

blib/lib/StorageDisplay/Block.pm
Criterion Covered Total %
branch 15 16 93.7


line true false branch
93 0 442 if ($self->provided)
109 2270 937 if ($n =~ m[^disk/]) { }
168 769 elsif ($n =~ /^dm-/) { }
168 601 elsif ($n =~ m[^mapper/]) { }
197 404 elsif ($n =~ m[/]) { }
120 1064 2143 if ($s > $score) { }
231 3519 elsif ($s == $score and $n gt $best_name) { }
164 3 3 if (builtin::blessed($block) and $block->isa('StorageDisplay::BlockTreeElement')) { }