Branch Coverage

blib/lib/App/Filite/Client.pm
Criterion Covered Total %
branch 22 36 61.1


line true false branch
33 1 0 unless (ref $config_file)
36 0 1 unless $config_file->is_file
94 0 0 unless @$args
96 0 0 if ($opts->{'help'})
110 1 6 if $opts->{'link'}
111 1 5 if $opts->{'text'}
112 1 4 if $opts->{'file'}
113 1 3 if $file =~ m[\Ahttps?://\S+\z]is
114 1 2 if $opts->{'highlight'}
115 0 2 if $file eq "-"
116 1 1 if -B $file
131 3 0 unless $server =~ /https?:/i
132 3 0 unless $server =~ m[/$]
138 3 0 if ($response->{'success'})
153 0 1 if ($file eq '-') { }
183 0 1 if ($file eq '-') { }
193 1 0 $opts->{'highlight'} ? :
212 0 1 if ($file eq '-') { }