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
92 0 0 unless @$args
94 0 0 if ($opts->{'help'})
108 1 6 if $opts->{'link'}
109 1 5 if $opts->{'text'}
110 1 4 if $opts->{'file'}
111 1 3 if $file =~ m[\Ahttps?://\S+\z]is
112 1 2 if $opts->{'highlight'}
113 0 2 if $file eq "-"
114 1 1 if -B $file
129 3 0 unless $server =~ /https?:/i
130 3 0 unless $server =~ m[/$]
136 3 0 if ($response->{'success'})
151 0 1 if ($file eq '-') { }
181 0 1 if ($file eq '-') { }
191 1 0 $opts->{'highlight'} ? :
210 0 1 if ($file eq '-') { }