Branch Coverage

blib/lib/Mojar/Message/BulkSms.pm
Criterion Covered Total %
branch 8 22 36.3


line true false branch
41 5 7 @_ && ref $_[-1] eq 'CODE' ? :
42 0 12 unless @_ % 2 == 0
46 6 6 if @_
50 2 10 if @missing
76 0 0 if ($cb) { }
91 0 0 if $error = $tx->error
96 0 0 if length($advice = ($error->{'advice'} //= '-3')) == 1
98 0 0 unless (eval { do { @$error{'advice', 'message'} = split(/\|/, $tx->res->body, 0); $advice == 0 if length($advice = ($error->{'advice'} //= '-3')) == 1 } })
99 0 0 if $@
104 0 0 $cb ? :
111 4 0 $cb ? :