Branch Coverage

blib/lib/Slurm/Sacctmgr/EntityBaseRW.pm
Criterion Covered Total %
branch 47 56 83.9


line true false branch
39 3252 15801 unless (defined $val1)
41 3 3249 if defined $val2
48 201 15600 unless defined $val2
52 331 15269 if (ref $val1 eq 'ARRAY')
53 2 329 unless ref $val2 eq 'ARRAY'
58 243 86 unless $len1 == $len2
66 3 243 if ($tmp)
75 312 14957 if (ref $val1 eq 'HASH')
76 1 311 unless ref $val2 eq 'HASH'
82 242 69 if $tmp
88 192 5 unless $tmp
96 0 14957 if (ref $val1)
100 0 0 unless $tmp1 eq $tmp2
108 0 14957 if $tmp
116 3579 11378 if ($val1 =~ /^\s*[-+]?\d*\.?\d*\s*$/ and $val1 =~ /\d/)
118 3575 4 if ($val2 =~ /^\s*[-+]?\d*\.?\d*\s*$/ and $val2 =~ /\d/)
120 3162 413 if $val1 == $val2
125 9367 2015 if $val1 eq $val2
141 0 3100 unless $obj1 and ref $obj1
143 0 3100 unless $obj2 and ref $obj2 eq ref $obj1
155 2859 15403 if $tmp
158 1078 2022 unless @diffs
169 0 3758 unless $obj and ref $obj
171 0 3758 unless $sacctmgr and ref $sacctmgr
175 538 3100 unless (defined $current)
179 0 3100 unless ref $current
183 492 586 unless $diffs or scalar %extra
194 58 650 unless scalar @$mdiffs or scalar %extra