Branch Coverage

blib/lib/SMS/API/QuickTelecom.pm
Criterion Covered Total %
branch 21 32 65.6


line true false branch
48 4 0 $class->{'ssl'} ? :
4 0 $class->{'ssl'} ? :
0 4 $class->{'port'} ? :
54 4 0 if ($res->is_success) { }
181 12 38 if exists $arg{$field}
185 2 7 unless defined $self->_get($field)
280 0 0 unless $arg{'post_id'}
281 0 0 unless $arg{'CLIENTADR'}
282 0 0 unless $arg{'HTTP_ACCEPT_LANGUAGE'}
323 10 18 if $arg{$d}
326 4 3 if (defined $d{'date_from'}) { }
327 1 3 unless defined $d{'date_to'}
328 1 4 unless $d{$_} =~ /^\d\d\.\d\d\.\d{4}\s\d\d:\d\d:\d\d$/
330 1 2 unless defined $d{'sms_id'} or defined $d{'sms_group_id'}
334 1 1 if defined $d{'sms_id'} and defined $d{'sms_group_id'} || defined $d{'date_from'}
336 0 1 if defined $d{'sms_group_id'} and defined $d{'sms_id'} || defined $d{'date_from'}