Branch Coverage

blib/lib/Slurm/Sacctmgr/EntityBaseAddDel.pm
Criterion Covered Total %
branch 20 42 47.6


line true false branch
23 1202 238 if ref $class
31 2188 130 if ref $class
43 0 0 if ref $class
52 0 1202 unless $obj and ref $obj
55 0 1202 unless $sacctmgr
63 320 7275 if $fld eq 'name'
66 824 6771 unless defined $val
80 0 1440 unless $sacctmgr and ref $sacctmgr
102 0 1408 unless ($list and ref $list)
104 0 0 if $list
105 0 0 if ($list =~ /Nothing new added/)
106 0 0 if $ok_if_exists
123 0 1202 unless $obj and ref $obj
125 0 1202 unless $sacctmgr and ref $sacctmgr
144 0 2318 unless $sacctmgr and ref $sacctmgr
153 0 2762 unless defined $val
159 2318 0 if (@where) { }
166 0 2276 unless ($list and ref $list)
169 0 0 if $list =~ /Nothing deleted/
183 0 2188 unless $obj and ref $obj
185 0 2188 unless $sacctmgr and ref $sacctmgr