Branch Coverage

blib/lib/App/TemplateCMD.pm
Criterion Covered Total %
branch 0 70 0.0


line true false branch
35 0 0 ref $caller ? :
60 0 0 unless $name
77 0 0 unless ($cmd and grep {$_ eq $cmd;} keys %{$$self{'cmds'};})
78 0 0 if ($cmd)
99 0 0 unless &GetOptions(\%default, @args)
107 0 0 if ($default{'path'})
121 0 0 if ($default{'out'}) { }
122 0 0 unless open $out, '>', $default{'out'}
142 0 0 if ($file =~ /=/) { }
156 0 0 $value =~ /^( , )(.*) $/msx ? :
0 0 $value =~ /^( \[ ) .* ( \] )$/msx ? :
0 0 $value =~ /^( \{ ) .* ( \} )$/msx ? :
0 0 $value =~ /^( q[wqr]?(\W) ) .* ( \2 )$/msx ? :
174 0 0 if $self->{'config'}
185 0 0 $ENV{'HOST'} ? :
197 0 0 if (-f "/etc/$CONFIG_NAME")
202 0 0 if ($option{'conf'} and -f $option{'conf'}) { }
0 0 elsif (-f "$ENV{'HOME'}/.$CONFIG_NAME") { }
215 0 0 if ($ENV{'TEMPLATE_CMD_PATH'})
220 0 0 if ($conf->{'aliases'})
232 0 0 $mon < 10 ? :
0 0 $mday < 10 ? :
233 0 0 $hour < 10 ? :
0 0 $min < 10 ? :
0 0 $sec < 10 ? :
247 0 0 if $t
250 0 0 if (ref $conf2->{$key} eq 'HASH' and ref $conf{$key} eq 'HASH') { }
251 0 0 if $t
255 0 0 if $t
267 0 0 unless ($cmd)
273 0 0 if ($self->{'loaded'}{$cmd})
277 0 0 unless ($self->{'cmds'}{$cmd})
287 0 0 if ($App::TemplateCMD::EVAL_ERROR)
304 0 0 unless -d $dir
309 0 0 if -d $_