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 2738 unless $length > 0
321 2702 36 if $extra > 0
333 0 11 unless $length > 0
345 11 0 if $extra > 0
357 1040 4184 if ($spec =~ /^(\d+)$/) { }
3074 1110 elsif ($spec =~ /^(\d+)-(\d+)$/) { }
1110 0 elsif ($spec =~ /^(\d+)\^(\d+)$/) { }
378 10 4982 unless $length > 0
379 1113 3869 if ($entropy == 0) { }
1374 2495 elsif ($entropy == 1) { }
1341 1154 elsif ($entropy == 2) { }
1120 34 elsif ($entropy == 3) { }
385 171 1203 if $extra > 0
390 1341 0 if $extra > 0
395 11 23 $text ? :
424 1 1 if @_
425 1 1 unless defined $option{'header-name-prefix'}
427 2 0 unless defined $option{'header-value-prefix'}
430 1 1 unless $_MD5
445 42 78 $tmp ? :
452 110 10 if ($tmp)