Branch Coverage

blib/lib/Net/Clickatell.pm
Criterion Covered Total %
branch 0 74 0.0


line true false branch
115 0 0 unless defined $class
127 0 0 unless defined $class
131 0 0 if $ret
137 0 0 unless defined $class
144 0 0 unless defined $class
169 0 0 unless defined $class
177 0 0 unless (exists $args{'API_ID'})
182 0 0 unless (exists $args{'USERNAME'})
187 0 0 unless (exists $args{'PASSWORD'})
192 0 0 if ($args{'UseSSL'} =~ /\D/)
197 0 0 if (not exists $args{'BaseURL'}) { }
200 0 0 if (exists $args{'UseSSL'} and $args{'UseSSL'} == 1) { }
208 0 0 if (exists $args{'UseSSL'} and $args{'UseSSL'} == 1) { }
226 0 0 unless defined $class
264 0 0 unless defined $class
267 0 0 unless $ret =~ /^ERR: /
289 0 0 unless defined $class
311 0 0 unless defined $class
317 0 0 if $ret =~ /status:/i
337 0 0 unless defined $class
343 0 0 if $ret =~ /status:/i
365 0 0 unless defined $class
369 0 0 unless $ret =~ /^ERR: /
410 0 0 unless defined $class
415 0 0 if (not exists $args{'to'}) { }
418 0 0 if (ref $args{'to'})
419 0 0 unless ref $args{'to'} eq 'ARRAY'
421 0 0 unless @$tos
427 0 0 unless (exists $args{'from'})
431 0 0 unless (exists $args{'text'} or exists $args{'data'})
436 0 0 unless $ret =~ /^ERR: /
458 0 0 unless defined $class
472 0 0 unless $ret =~ /^ERR: /
495 0 0 unless defined $class
505 0 0 unless defined $class
521 0 0 unless $ret =~ /^ERR: /
527 0 0 unless $day