Branch Coverage

blib/lib/Messaging/Message/Generator.pm
Criterion Covered Total %
branch 38 46 82.6


line true false branch
297 0 1 unless length $_UnicodeString == 14052
300 0 1 unless length $_UnicodeString == 7621
312 0 2715 unless $length > 0
321 2671 44 if $extra > 0
333 0 15 unless $length > 0
345 15 0 if $extra > 0
357 1040 4188 if ($spec =~ /^(\d+)$/) { }
3078 1110 elsif ($spec =~ /^(\d+)-(\d+)$/) { }
1110 0 elsif ($spec =~ /^(\d+)\^(\d+)$/) { }
378 10 4984 unless $length > 0
379 1118 3866 if ($entropy == 0) { }
1352 2514 elsif ($entropy == 1) { }
1354 1160 elsif ($entropy == 2) { }
1136 24 elsif ($entropy == 3) { }
385 183 1169 if $extra > 0
390 1354 0 if $extra > 0
395 15 9 $text ? :
424 1 1 if @_
426 1 1 unless defined $option{'header-name-prefix'}
428 2 0 unless defined $option{'header-value-prefix'}
430 1 1 unless $_MD5
445 55 65 $tmp ? :
452 110 10 if ($tmp)