Branch Coverage

blib/lib/Net/SMS/TextMagic.pm
Criterion Covered Total %
branch 5 46 10.8


line true false branch
91 1 0 if ($params{'USER'}) { }
101 1 0 if ($params{'API_ID'}) { }
114 0 1 if (defined $params{'API_URL'} and $params{'API_URL'} ne '') { }
123 0 1 if (defined $params{'UserAgent'} and $params{'UserAgent'} ne '') { }
132 0 1 if (defined $params{'Timeout'} and $params{'Timeout'} ne '') { }
196 0 0 unless ($params{'text'} and $params{'phone'})
202 0 0 unless (defined $params{'unicode'})
206 0 0 if ($params{'unicode'}) { }
218 0 0 if (defined $r_json) { }
261 0 0 if (defined $r_json) { }
322 0 0 unless ($ids)
331 0 0 if (defined $r_json) { }
401 0 0 unless (defined $lrid)
410 0 0 if (defined $r_json) { }
458 0 0 unless (defined $delids)
467 0 0 if (defined $r_json) { }
516 0 0 unless (defined $numbers)
525 0 0 if (defined $r_json) { }
570 0 0 if ($response->is_success) { }
574 0 0 if ($$json_obj{'error_code'}) { }
611 0 0 if ($$class{'ERROR'})
665 0 0 if ($$class{'ERROR'}) { }
703 0 0 if ($n == 0)