Condition Coverage

blib/lib/StorageDisplay.pm
Criterion Covered Total %
condition 29 41 70.7


and 3 conditions

line !l l&&!r l&&r condition
628 32 281 0 defined $mp and not $target eq $mp

or 2 conditions

line l !l condition
136 36 223 $block->blk_info("SERIAL") // ""
139 50 207 $block->udev_info("ID_SCSI_SERIAL") // ""
164 96 240 $jcur->{'children'} // []
316 7 0 $self->get_info("partitions") // {}
317 6 1 $self->get_info("libvirt") // {}
321 33 2 $vm->{'blocks'} // {}
324 222 0 $vm->{'name'} // 1
415 7 0 $self->get_info("lvm") // {}
434 5 2 $self->get_info("luks") // {}
448 5 2 $self->get_info("md") // {}
450 0 8 $self->get_info("md")->{$devname}{'raid-container'} // Deparse error: Can't locate object method "object_2svref" via package "B::SPECIAL" at /usr/local/lib/perl5/5.42.0/B/Deparse.pm line 5762.
467 1 6 $self->get_info("lsi-megacli") // {}
481 1 6 $self->get_info("lsi-sas-ircu") // {}
519 7 0 $self->get_info("loops") // {}
648 7 0 shift() // "\t"
656 0 7 shift() // "\t"

or 3 conditions

line l !l&&r !l&&!r condition
358 21 0 0 $pttype //= $self->get_info("partitions", $dev, "type")
364 2 0 0 $pttype eq "dos" or $pttype eq "msdos"