Branch Coverage

blib/lib/WWW/Eksi.pm
Criterion Covered Total %
branch 8 36 22.2


line true false branch
99 1 0 if $id and $id =~ /^\d{1,}$/
100 0 1 unless $data
106 0 1 unless $data
111 0 1 unless ($id)
114 0 0 unless $id and $id =~ /^\d{1,}$/
154 0 1 unless $date_posted
158 0 1 $time_posted ? :
161 0 1 $time_updated ? :
202 0 0 unless $data
229 0 0 unless $data
257 0 0 unless $data
279 0 0 if $url
280 0 0 unless $url and $u and &any(sub { $u->scheme eq $_; } , 'http', 'https')
284 0 0 $response && $response->is_success ? :
292 0 0 if $url
293 0 0 unless $url and $u and &any(sub { $u->scheme eq $_; } , 'http', 'https')
297 0 0 &any(sub { $u->host eq $_; } , 'is.gd', 'goo.gl') ? :
304 0 1 unless $e