Branch Coverage

blib/lib/ExtUtils/ModuleMaker/TT.pm
Criterion Covered Total %
branch 16 28 57.1


line true false branch
26 2 0 if (ref $module) { }
27 0 2 if ($module == $self) { }
41 1 1 unless ($$self{'Base_Dir'})
44 1 3 if (-e 'MANIFEST' and -d 'lib')
51 0 1 unless $$self{'Base_Dir'}
84 0 2 $$self{'TEMPLATE_DIR'} ? :
0 2 unless my $tt = $$self{'TEMPLATE_DIR'} ? 'Template'->new({'INCLUDE_PATH', $$self{'TEMPLATE_DIR'}}) : 'Template'->new
90 0 2 $$self{'TEMPLATE_DIR'} ? :
0 2 unless $tt->process($$self{'TEMPLATE_DIR'} ? 'method' : \$template_text, {%{$self;}, 'method_name', $method_name}, \$results)
175 0 12 unless open FILE, '>', $target
184 0 25 $$self{'TEMPLATE_DIR'} ? :
0 25 unless my $tt = $$self{'TEMPLATE_DIR'} ? 'Template'->new({'INCLUDE_PATH', $$self{'TEMPLATE_DIR'}}) : 'Template'->new
190 0 25 $$self{'TEMPLATE_DIR'} ? :
0 25 unless $tt->process($$self{'TEMPLATE_DIR'} ? $template : \$template_text, $data, \$output_text)