line |
true |
false |
branch |
92
|
0 |
0 |
if ($runtime) |
94
|
0 |
0 |
unless $compile |
98
|
0 |
0 |
unless @$templates |
100
|
0 |
0 |
if ($list) |
107
|
0 |
0 |
if ($compile) |
114
|
0 |
0 |
if ($content) |
122
|
0 |
0 |
unless ($ProcessedTemplates{$new_template}) |
123
|
0 |
0 |
unless (-f $new_template) |
127
|
0 |
0 |
if (-f $new_template) |
152
|
0 |
0 |
exists $ENV{'LEMPLATE_START_TAG'} ? : |
155
|
0 |
0 |
exists $ENV{'LEMPLATE_END_TAG'} ? : |
158
|
0 |
0 |
exists $ENV{'LEMPLATE_PRE_CHOMP'} ? : |
161
|
0 |
0 |
exists $ENV{'LEMPLATE_POST_CHOMP'} ? : |
164
|
0 |
0 |
exists $ENV{'LEMPLATE_TRIM'} ? : |
167
|
0 |
0 |
exists $ENV{'LEMPLATE_ANYCASE'} ? : |
170
|
0 |
0 |
exists $ENV{'LEMPLATE_EVAL_JAVASCRIPT'} ? : |
179
|
0 |
0 |
unless &GetOptions('compile|c', \$compile, 'list|l', \$list, 'runtime|r:s', \$runtime, 'start-tag=s', \$start_tag, 'end-tag=s', \$end_tag, 'trim=s', \$trim, 'pre-chomp', \$pre_chomp, 'post-chomp', \$post_chomp, 'any-case', \$anycase, 'eval!', \$eval_javascript, 'source|s', \$source, 'exclude=s', \$exclude, 'ajax:s', \$ajax, 'json:s', \$json, 'xxx', \$xxx, 'xhr:s', \$xhr, 'include_path', \@include_paths, 'compact', \$compact, 'minify:s', \$minify, 'help|?', \$help) |
207
|
0 |
0 |
if ($help) |
211
|
0 |
0 |
defined $_ && !length($_) ? : |
212
|
0 |
0 |
if $runtime and $runtime eq 1 |
214
|
0 |
0 |
if defined $runtime and not grep({$runtime =~ /$_/;} 'standard', 'lite', 'jquery', 'yui', 'legacy') |
215
|
0 |
0 |
if $list and $runtime || $compile |
216
|
0 |
0 |
unless $list or $runtime or $compile |
218
|
0 |
0 |
$list ? : |
|
0 |
0 |
$compile ? : |
|
0 |
0 |
$runtime ? : |
225
|
0 |
0 |
if defined $start_tag |
226
|
0 |
0 |
if defined $end_tag |
227
|
0 |
0 |
if defined $pre_chomp |
228
|
0 |
0 |
if defined $post_chomp |
229
|
0 |
0 |
if defined $trim |
230
|
0 |
0 |
if defined $anycase |
231
|
0 |
0 |
if defined $eval_javascript |
247
|
0 |
0 |
unless open F, '<', $filepath |
259
|
0 |
0 |
if (m[/\.[^\.]+]) { } |
273
|
0 |
0 |
unless (-e $arg) |
274
|
0 |
0 |
unless (-s $arg or -d $arg) |
275
|
0 |
0 |
if ($exclude and $arg =~ /$exclude/) |
277
|
0 |
0 |
if (-d $arg) { } |
296
|
0 |
0 |
if @_ |
314
|
0 |
0 |
unless my $result = $self->compile_template_files(@$template_file_paths) |
316
|
0 |
0 |
unless open MODULE, "> $module_path" |
326
|
0 |
0 |
unless grep {-M $_ < $m;} @$template_file_paths |
336
|
0 |
0 |
unless open FILE, $filepath |
347
|
0 |
0 |
unless @_ == 3 |
351
|
0 |
0 |
ref $self ? : |
352
|
0 |
0 |
unless my $parse_tree = $parser->parse($template_content, {'name', $template_name}) |
362
|
0 |
0 |
if $ProcessedTemplates{$name} |