Branch Coverage

lib/AnyEvent/Connection/Raw.pm
Criterion Covered Total %
branch 14 64 21.8


line true false branch
20 0 1 if $$me{'debug'}
21 1 0 if ($$me{'waitingcb'}{$k})
31 4 0 unless defined $$self{'nl'}
32 0 4 unless defined $$self{'debug'}
36 0 0 unless $me
45 0 1 unless $me
49 0 1 if ($$me{'destroying'}) { }
79 0 4 if $$self{'debug'}
82 3 1 if $$self{'h'}
90 0 0 unless $$self{'h'}
92 0 0 if (not ref $_ and utf8::is_utf8($_))
98 0 0 if $$self{'debug'}
104 0 0 unless $$self{'h'}
105 0 0 if $$self{'timeout'}
115 0 0 unless $$self{'h'}
121 0 0 unless $$self{'h'}
123 0 0 if (not ref $_ and utf8::is_utf8($_))
129 0 0 if $$self{'debug'}
136 0 0 unless $args{'cb'}
137 0 0 unless $$self{'h'}
138 0 0 if $$self{'debug'}
143 0 0 if substr($$self{'h'}{'rbuf'}, 0, 1) eq "\r"
144 0 0 if substr($$self{'h'}{'rbuf'}, 0, 1) eq "\n"
154 0 1 if (utf8::is_utf8($write))
158 0 1 unless $args{'cb'}
159 0 1 unless $$self{'h'}
164 0 1 if $$self{'debug'}
167 0 1 if $$self{'debug'}
174 0 0 if substr($_, -1, 1) eq "\r"
176 0 0 if $$self{'debug'}
192 0 0 unless $$self{'h'}
199 0 0 if substr($_, -1, 1) eq "\r"