Branch Coverage

blib/lib/App/Twpin.pm
Criterion Covered Total %
branch 0 64 0.0


line true false branch
34 0 0 unless tie @array, 'Tie::File', $config_file
36 0 0 if (/^user\s*=/) { }
0 0 elsif (/^pass\s*=/) { }
0 0 elsif (/^apiurl\s*=/) { }
0 0 elsif (/^encode\s*=/) { }
0 0 elsif (/^\s*$/) { }
37 0 0 if defined $args{'user'}
40 0 0 if defined $args{'pass'}
43 0 0 if defined $args{'apiurl'}
46 0 0 if defined $args{'encode'}
55 0 0 unless $has{$_}
64 0 0 unless tie @array, 'Tie::File', $config_file
67 0 0 if /^user\s*=\s*(.*?)\s*$/ and $conf{'username'} = $1
68 0 0 if /^pass\s*=\s*(.*?)\s*$/ and $conf{'password'} = $1
69 0 0 if /^apiurl\s*=\s*(.*?)\s*$/ and $conf{'apiurl'} = $1
73 0 0 unless (defined $conf{'username'} and defined $conf{'password'})
84 0 0 if ($@) { }
95 0 0 if (defined $user) { }
100 0 0 if $@
113 0 0 if $@
119 0 0 if defined $$follower{'location'}
129 0 0 if $@
133 0 0 if defined $$friend{'location'}
140 0 0 if (blessed $error and $error->isa('Net::Twitter::Error')) { }
152 0 0 if $@
155 0 0 if defined $$friend{'location'}
162 0 0 if $@
168 0 0 unless tie @array, 'Tie::File', $config_file
171 0 0 if /^encode\s*=\s*(.*?)\s*$/ and $encode = $1
173 0 0 unless defined $encode
174 0 0 unless ref find_encoding($encode)
180 0 0 if (is_utf8 $string)