Branch Coverage

blib/lib/Net/Amazon/MechanicalTurk/Template.pm
Criterion Covered Total %
branch 6 24 25.0


line true false branch
34 0 0 if (UNIVERSAL::isa($source, 'Net::Amazon::MechanicalTurk::Template')) { }
0 0 elsif (UNIVERSAL::isa($source, 'CODE')) { }
52 2 0 unless (defined $module)
63 2 0 unless ($DEFAULT_EXTENSIONS_LOADED)
72 0 2 $#_ == 0 && UNIVERSAL::isa($_[0], 'HASH') ? :
75 4 0 unless (UNIVERSAL::can($module, 'new'))
76 4 0 if ('Net::Amazon::MechanicalTurk::ModuleUtil'->tryRequire($module)) { }
77 4 0 unless (UNIVERSAL::can($module, 'new'))
101 0 0 if (defined $self->templateFile) { }
0 0 elsif (defined $self->templateSource) { }
108 0 0 if (not $self->compiled)
127 0 0 $#_ == 0 && UNIVERSAL::isa($_[0], 'HASH') ? :