Branch Coverage

blib/lib/Net/SMS/PChome.pm
Criterion Covered Total %
branch 0 60 0.0


line true false branch
17 0 0 unless $self->_init(%params)
32 0 0 if (@_)
38 0 0 if (@_)
44 0 0 if (@_)
50 0 0 if (@_)
56 0 0 if $user
57 0 0 if $pass
58 0 0 if $auth
64 0 0 if $recip
70 0 0 if (@_)
76 0 0 if (@_)
82 0 0 if (@_)
88 0 0 if (@_)
115 0 0 if $message
120 0 0 unless defined $$self{"_$_"}
121 0 0 if ($_ eq 'recipients') { }
129 0 0 unless $self->smsType =~ /^[12]$/
133 0 0 if ($self->smsType eq '2')
134 0 0 unless $self->smsDlvtime
138 0 0 unless $self->smsEncode =~ /^(BIG5|ASCII)$/
142 0 0 if (defined $$self{'_dlvdatetime'})
143 0 0 if (my($year, $month, $day, $hour, $min) = $$self{'_dlvdatetime'} =~ /^(\d{4})(\d{2})(\d{2})(\d{2})(\d{2})$/) { }
145 0 0 unless check_date($year, $month, $day)
148 0 0 unless check_time($hour, $min, undef)
152 0 0 unless $$self{'_dlvdatetime'} > $now
179 0 0 if ($self->smsType eq '2')
193 0 0 if ($$self{'_ua'}->success) { }
201 0 0 if ($$item{'success'} eq 'false') { }
251 0 0 unless $input
256 0 0 if ($$list[12]->innerText =~ /\256\245\263\337\261z\246\251\302I\256\370\266O\246\250\245\\/) { }