Branch Coverage

blib/lib/Bot/ChatBots/Role/Source.pm
Criterion Covered Total %
branch 12 28 42.8


line true false branch
41 3 0 @chunks == 1 || $chunks[-1] ne 'webhook' ? :
49 4 1 @_ && ref $_[0] ? :
51 3 2 $self->can('class_custom_pairs') ? :
81 0 4 @_ && ref $_[0] ? :
84 0 4 unless ref $updates eq 'ARRAY'
86 0 4 unless my $n_updates = @$updates
93 4 0 if defined wantarray
111 0 0 if $self->should_rethrow($args)
115 0 4 if $self->can('review_outcomes')
117 0 4 unless defined wantarray
118 4 0 if wantarray
124 0 0 @_ && ref $_[0] ? :
127 0 0 $self->can('rethrow') ? :
0 0 exists $args->{'rethrow'} ? :