Branch Coverage

blib/lib/App/Yath.pm
Criterion Covered Total %
branch 25 30 83.3


line true false branch
41 0 56 -t STDOUT ? :
75 0 56 unless &GetOptionsFromArray(\@args, ('l|lib', sub { push @libs, 'lib'; } , 'b|blib', sub { push @libs, 'blib/lib', 'blib/arch'; } , 'I|include=s@', \@libs, 'R|renderer=s@', \@render, 'L|preload=s@', \@preload, 'c|color=i', \$color, 'h|help', \&App::Yath::help, 'j|jobs=i', \$jobs, 'm|merge', \$merge, 'q|quiet', \$quiet, 'v|verbose', \$verbose, 'x|exclude=s@', \@exclude, 'parser|parser_class=s', \$harness_args{'parser_class'}, 'runner|runner_class=s', \$runner_class, 'S|switch=s@', sub { push @switches, split(/=/, $_[1], 0); } ))
77 2 54 if @preload and @switches
80 52 2 unless $quiet
87 54 0 if $runner_class
88 54 0 if $harness_args{'parser_class'}
93 23 31 @preload ? :
115 110 81 if $_[0] =~ s/^\+//
116 56 135 if $prefix
124 12 50 if not @in and -d 't'
128 4 100 if -f $f
129 100 0 if -d $f
133 58 4 if (@dirs)
138 1080 1144 if -f $_ & /\.t2?$/
145 46 16 if (@$exclude)