Branch Coverage

blib/lib/Protocol/Sys/Virt/Transport/XDR.pm
Criterion Covered Total %
branch 0 236 0.0


line true false branch
40 0 0 if $input_length - $_[2] < 4
43 0 0 unless vec state $m = "\177", $_[1], 1
51 0 0 unless defined $_[1]
53 0 0 unless vec state $m = "\177", $_[1], 1
69 0 0 if $input_length - $_[2] < 4
72 0 0 unless vec state $m = "\a", $_[1], 1
80 0 0 unless defined $_[1]
82 0 0 unless vec state $m = "\a", $_[1], 1
95 0 0 if $input_length - $_[2] < 4
100 0 0 unless 0 <= $_[1]{'prog'} and $_[1]{'prog'} <= 4294967295
104 0 0 if $input_length - $_[2] < 4
109 0 0 unless 0 <= $_[1]{'vers'} and $_[1]{'vers'} <= 4294967295
113 0 0 if $input_length - $_[2] < 4
118 0 0 unless '-2147483648' <= $_[1]{'proc'} and $_[1]{'proc'} < 2147483648
126 0 0 if $input_length - $_[2] < 4
131 0 0 unless 0 <= $_[1]{'serial'} and $_[1]{'serial'} <= 4294967295
139 0 0 unless defined $_[1]
144 0 0 unless exists $_[1]{'prog'}
147 0 0 unless defined $_[1]{'prog'}
149 0 0 unless 0 <= $_[1]{'prog'} and $_[1]{'prog'} <= 4294967295
151 0 0 unless int $_[1]{'prog'} == $_[1]{'prog'}
157 0 0 unless exists $_[1]{'vers'}
160 0 0 unless defined $_[1]{'vers'}
162 0 0 unless 0 <= $_[1]{'vers'} and $_[1]{'vers'} <= 4294967295
164 0 0 unless int $_[1]{'vers'} == $_[1]{'vers'}
170 0 0 unless exists $_[1]{'proc'}
173 0 0 unless defined $_[1]{'proc'}
175 0 0 unless '-2147483648' <= $_[1]{'proc'} and $_[1]{'proc'} < 2147483648
177 0 0 unless int $_[1]{'proc'} == $_[1]{'proc'}
183 0 0 unless exists $_[1]{'type'}
189 0 0 unless exists $_[1]{'serial'}
192 0 0 unless defined $_[1]{'serial'}
194 0 0 unless 0 <= $_[1]{'serial'} and $_[1]{'serial'} <= 4294967295
196 0 0 unless int $_[1]{'serial'} == $_[1]{'serial'}
202 0 0 unless exists $_[1]{'status'}
210 0 0 if $input_length - $_[2] < 16
218 0 0 unless defined $_[1]
222 0 0 unless $len == 16
234 0 0 if $input_length - $_[2] < 4
238 0 0 unless $len <= 4194304
240 0 0 if $input_length - $_[2] < $len
251 0 0 unless defined $_[1]
253 0 0 unless $len <= 4194304
260 0 0 if (my $pad = (4 - $len % 4) % 4)
273 0 0 if $input_length - $_[2] < 4
276 0 0 unless $b == 0 or $b == 1
279 0 0 if ($b) { }
291 0 0 if (defined $_[1]) { }
320 0 0 if $input_length - $_[2] < 4
325 0 0 unless '-2147483648' <= $_[1]{'id'} and $_[1]{'id'} < 2147483648
329 0 0 unless defined $_[1]
334 0 0 unless exists $_[1]{'name'}
340 0 0 unless exists $_[1]{'uuid'}
346 0 0 unless exists $_[1]{'id'}
349 0 0 unless defined $_[1]{'id'}
351 0 0 unless '-2147483648' <= $_[1]{'id'} and $_[1]{'id'} < 2147483648
353 0 0 unless int $_[1]{'id'} == $_[1]{'id'}
371 0 0 unless defined $_[1]
376 0 0 unless exists $_[1]{'name'}
382 0 0 unless exists $_[1]{'uuid'}
393 0 0 if $input_length - $_[2] < 4
396 0 0 unless $b == 0 or $b == 1
399 0 0 if ($b) { }
411 0 0 if (defined $_[1]) { }
433 0 0 if $input_length - $_[2] < 4
436 0 0 unless $b == 0 or $b == 1
439 0 0 if ($b) { }
451 0 0 if (defined $_[1]) { }
472 0 0 if $input_length - $_[2] < 4
477 0 0 unless '-2147483648' <= $_[1]{'code'} and $_[1]{'code'} < 2147483648
481 0 0 if $input_length - $_[2] < 4
486 0 0 unless '-2147483648' <= $_[1]{'domain'} and $_[1]{'domain'} < 2147483648
494 0 0 if $input_length - $_[2] < 4
499 0 0 unless '-2147483648' <= $_[1]{'level'} and $_[1]{'level'} < 2147483648
519 0 0 if $input_length - $_[2] < 4
524 0 0 unless '-2147483648' <= $_[1]{'int1'} and $_[1]{'int1'} < 2147483648
528 0 0 if $input_length - $_[2] < 4
533 0 0 unless '-2147483648' <= $_[1]{'int2'} and $_[1]{'int2'} < 2147483648
541 0 0 unless defined $_[1]
546 0 0 unless exists $_[1]{'code'}
549 0 0 unless defined $_[1]{'code'}
551 0 0 unless '-2147483648' <= $_[1]{'code'} and $_[1]{'code'} < 2147483648
553 0 0 unless int $_[1]{'code'} == $_[1]{'code'}
559 0 0 unless exists $_[1]{'domain'}
562 0 0 unless defined $_[1]{'domain'}
564 0 0 unless '-2147483648' <= $_[1]{'domain'} and $_[1]{'domain'} < 2147483648
566 0 0 unless int $_[1]{'domain'} == $_[1]{'domain'}
572 0 0 unless exists $_[1]{'message'}
578 0 0 unless exists $_[1]{'level'}
581 0 0 unless defined $_[1]{'level'}
583 0 0 unless '-2147483648' <= $_[1]{'level'} and $_[1]{'level'} < 2147483648
585 0 0 unless int $_[1]{'level'} == $_[1]{'level'}
591 0 0 unless exists $_[1]{'dom'}
597 0 0 unless exists $_[1]{'str1'}
603 0 0 unless exists $_[1]{'str2'}
609 0 0 unless exists $_[1]{'str3'}
615 0 0 unless exists $_[1]{'int1'}
618 0 0 unless defined $_[1]{'int1'}
620 0 0 unless '-2147483648' <= $_[1]{'int1'} and $_[1]{'int1'} < 2147483648
622 0 0 unless int $_[1]{'int1'} == $_[1]{'int1'}
628 0 0 unless exists $_[1]{'int2'}
631 0 0 unless defined $_[1]{'int2'}
633 0 0 unless '-2147483648' <= $_[1]{'int2'} and $_[1]{'int2'} < 2147483648
635 0 0 unless int $_[1]{'int2'} == $_[1]{'int2'}
641 0 0 unless exists $_[1]{'net'}
651 0 0 if $input_length - $_[2] < 8
657 0 0 unless '-9223372036854775808' <= $_[1]{'length'} and $_[1]{'length'} < '9223372036854775808'
661 0 0 if $input_length - $_[2] < 4
666 0 0 unless 0 <= $_[1]{'flags'} and $_[1]{'flags'} <= 4294967295
670 0 0 unless defined $_[1]
675 0 0 unless exists $_[1]{'length'}
678 0 0 unless defined $_[1]{'length'}
681 0 0 unless '-9223372036854775808' <= $_[1]{'length'} and $_[1]{'length'} < '9223372036854775808'
683 0 0 unless int $_[1]{'length'} == $_[1]{'length'}
689 0 0 unless exists $_[1]{'flags'}
692 0 0 unless defined $_[1]{'flags'}
694 0 0 unless 0 <= $_[1]{'flags'} and $_[1]{'flags'} <= 4294967295
696 0 0 unless int $_[1]{'flags'} == $_[1]{'flags'}