Branch Coverage

blib/lib/Bit/MorseSignals/Emitter.pm
Criterion Covered Total %
branch 40 40 100.0


line true false branch
43 16 6248 unless ref $_[0] and $_[0]->isa('Bit::MorseSignals::Emitter')
51 3167 2083 if ($cur == $bit) { }
54 156 1927 if $seq > $$lng[$cur]
59 24 36 if $seq > $$lng[$cur]
73 1 8 unless $class = ref $class || $class
74 1 7 if @_ % 2
94 1 96 if @_ % 2
99 54 42 if (defined $msg) { }
20 22 elsif ($$self{'state'} == 1) { }
103 53 1 unless defined $type and exists $manglers[$type]
104 10 44 if (ref $msg) { }
43 1 elsif ($type == -1) { }
105 2 8 if {map({$_, 1;} 'CODE', 'GLOB')}->{ref $msg}
108 8 35 is_utf8($msg) ? :
112 43 9 if ($$self{'state'})
114 42 1 if $$self{'state'} == 2
140 23 7 $lng[0] > $lng[1] ? :
172 8 5662 if $$self{'state'} == 0
173 20 5642 if $$self{'state'} == 1
175 30 5632 if $$self{'pos'} >= $$self{'len'}