Branch Coverage

blib/lib/WWW/Eksi.pm
Criterion Covered Total %
branch 8 32 25.0


line true false branch
94 1 0 if $id and $id =~ /^\d{1,}$/
95 0 1 unless $data
101 0 1 unless $data
106 0 1 unless ($id)
109 0 0 unless $id and $id =~ /^\d{1,}$/
149 0 1 unless $date_posted
153 0 1 $time_posted ? :
156 0 1 $time_updated ? :
214 0 0 unless $data
233 0 0 if $url
234 0 0 unless $url and $u and &any(sub { $u->scheme eq $_; } , 'http', 'https')
238 0 0 $response && $response->is_success ? :
246 0 0 if $url
247 0 0 unless $url and $u and &any(sub { $u->scheme eq $_; } , 'http', 'https')
251 0 0 &any(sub { $u->host eq $_; } , 'is.gd', 'goo.gl') ? :
258 0 1 unless $e