Branch Coverage

blib/lib/AnyEvent/MockTCPServer.pm
Criterion Covered Total %
branch 9 16 56.2


line true false branch
56 1 0 if $$self{'on_error'}
66 1 5 unless (@$con)
71 4 1 unless (@$con)
77 0 5 unless $fh
89 0 1 unless defined $_
131 3 10 unless (defined $action)
190 0 0 if ref $recv and ref $recv eq 'CODE'
191 0 0 if (ref $recv) { }