Branch Coverage

blib/lib/Bot/Backbone/Message.pm
Criterion Covered Total %
branch 27 32 84.3


line true false branch
115 1 577 if ($original =~ /^\s*$/ and $next_char =~ /['"\(\[\{]/) { }
5 572 elsif (defined $quote_mark and $quote_mark =~ /(['"])/ && $next_char eq $1 || $quote_mark eq '(' && $next_char eq ')' || $quote_mark eq '[' && $next_char eq ']' || $quote_mark eq '{' && $next_char eq '}') { }
5 567 elsif (defined $quote_mark and $next_char =~ /\s/) { }
58 509 elsif ($next_char =~ /\s/) { }
41 468 elsif (not defined $quote_mark and $original =~ /\S\s+/ and $next_char =~ /\S/) { }
160 4 37 if ($next_char =~ /['"\(\[\{]/) { }
179 0 67 if (@args and $original =~ /^\s+$/) { }
243 0 2 unless $self->is_direct
258 350 42 if $self->has_args
272 392 0 if $self->has_args or $bookmark->has_args
291 188 2 unless ref $match
293 25 165 if ($self->has_more_args and $self->args->[0]->text =~ /^$match$/)
307 1 1 if ($text =~ s/^($match)//)
310 1 0 if $self->has_args
321 2 3 if (defined $sender and &blessed($sender) and $sender->does('Bot::Backbone::Service::Role::Sender')) { }
3 0 elsif (defined $sender and &blessed($sender) and $sender->isa('Bot::Backbone::Bot')) { }