Branch Coverage

blib/lib/AnyEvent/Twitter.pm
Criterion Covered Total %
branch 2 32 6.2


line true false branch
47 1 8 unless defined $args{$item}
57 0 0 $endpoint =~ /^http.+\.json$/ ? :
66 0 0 $endpoint =~ /^http.+\.json$/ ? :
76 0 0 unless $opt{'api'} or $opt{'url'}
82 0 0 unless ref $cb eq 'CODE'
89 0 0 unless $method =~ /^(?:GET|POST)$/
92 0 0 $is_multipart ? :
105 0 0 if ($method eq 'POST') { }
108 0 0 if ($is_multipart) { }
110 0 0 utf8::is_utf8($_[0]) ? :
142 0 0 if ($$hdr{'Status'} =~ /^2/) { }
143 0 0 $@ ? :
175 0 0 unless defined $args{$item}
178 0 0 unless ref $args{'cb'} eq 'CODE'
211 0 0 unless defined $args{$item}
214 0 0 unless ref $args{'cb'} eq 'CODE'