Condition Coverage

blib/lib/Zabbix/Check/Disk.pm
Criterion Covered Total %
condition 0 30 0.0


and 3 conditions

line !l l&&!r l&&r condition
83 0 0 0 -f "$blockpath/size" && ($_ = read_file("$blockpath/size", {'err_mode', 'quiet'}))
0 0 0 -f "$blockpath/removable" && ($_ = read_file("$blockpath/removable", {'err_mode', 'quiet'}))
0 0 0 -f "$blockpath/partition" && ($_ = read_file("$blockpath/partition", {'err_mode', 'quiet'}))
96 0 0 0 -f "$blockpath/dm/name" and my $dmname = read_file("$blockpath/dm/name", {'err_mode', 'quiet'})
222 0 0 0 not $removable and $disk->{'removable'}
231 0 0 0 $devname and $type
0 0 0 $devname and $type and $type =~ /^read|write|total$/u
243 0 0 0 $devname and $type
0 0 0 $devname and $type and $type =~ /^read|write|total$/u

or 3 conditions

line l !l&&r !l&&!r condition
167 0 0 0 not $tmp or $@