Branch Coverage

blib/lib/SMS/Send/DE/MeinBMW.pm
Criterion Covered Total %
branch 0 40 0.0


line true false branch
62 0 0 unless $res->is_success
68 0 0 if /username$/i
69 0 0 if /password$/i
74 0 0 if ($res->is_success and $res->content =~ /logout/i) { }
86 0 0 if $$self{'logged_in'}
94 0 0 unless $res->is_success
96 0 0 if ($res->content =~ /$RE_BADLOGIN/)
122 0 0 unless $res->is_success
129 0 0 if /phone$/i
130 0 0 if /subject$/i
135 0 0 unless ($res->is_success)
140 0 0 unless $$res{'_content'} =~ /Ihre SMS wurde an .+ versendet/i
150 0 0 ref $_[0] ? :
152 0 0 unless (defined $email)
155 0 0 unless ($email =~ /^.+\@\w+\.\w+$/)
162 0 0 ref $_[0] ? :
164 0 0 unless (defined $password and not ref $password and length $password)
172 0 0 ref $_[0] ? :
174 0 0 unless (length $message <= 160)
181 0 0 ref $_[0] ? :