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 2741 unless $length > 0
321 2693 48 if $extra > 0
333 0 12 unless $length > 0
345 12 0 if $extra > 0
357 1040 4216 if ($spec =~ /^(\d+)$/) { }
3106 1110 elsif ($spec =~ /^(\d+)-(\d+)$/) { }
1110 0 elsif ($spec =~ /^(\d+)\^(\d+)$/) { }
378 10 4998 unless $length > 0
379 1111 3887 if ($entropy == 0) { }
1393 2494 elsif ($entropy == 1) { }
1339 1155 elsif ($entropy == 2) { }
1134 21 elsif ($entropy == 3) { }
385 177 1216 if $extra > 0
390 1339 0 if $extra > 0
395 12 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)