Branch Coverage

blib/lib/Test/Mojo/IRC.pm
Criterion Covered Total %
branch 18 26 69.2


line true false branch
48 1 2 unless ref $self
49 0 2 if $self->server
50 0 2 if $ENV{'TEST_MOJO_IRC_SERVER'}
56 2 210 unless length $self->{'server_buf'}
71 0 5 unless $self->{'reply_on'}
2 3 unless @{[] unless $self->{'reply_on'};}
72 0 3 unless $self->{'from_client'} =~ /$self->{'reply_on'}[0]/u
93 1 4 if (ref $buf eq 'ARRAY') { }
2 2 elsif (ref $buf) { }
94 0 1 @$buf == 1 ? :
109 0 2 unless $arg =~ /^(?:-basic|-ua)$/u
112 0 2 if $arg eq '-ua'
113 0 2 unless eval "package $caller; use Test::More; 1"