line |
true |
false |
branch |
83
|
0 |
0 |
unless my $label = $self->language
|
84
|
0 |
0 |
if (defined $self->selector and $self->selector ne '')
|
97
|
0 |
8 |
if ($self->select_bundles)
|
98
|
0 |
0 |
unless $self->select_bundles =~ /^\d+(-\d+)?(,\d+(-\d+)?)*$/
|
102
|
0 |
0 |
if ($span =~ /(\d+)-(\d+)/) { }
|
112
|
7 |
1 |
if ($self->language ne 'all')
|
116
|
0 |
7 |
unless Treex::Core::Types::is_lang_code($code)
|
123
|
8 |
0 |
if ($self->selector ne 'all')
|
124
|
7 |
1 |
if ($self->selector eq '') { }
|
131
|
0 |
1 |
unless $selector =~ /^[a-z\d]*$/i
|
166
|
0 |
0 |
unless open my $block_fh, '<', $block_filename
|
178
|
0 |
0 |
unless ($self->_hash)
|
208
|
0 |
0 |
if (not $document->get_bundles and $self->if_missing_bundles =~ /fatal|warn/)
|
211
|
0 |
0 |
if $self->if_missing_bundles eq 'fatal'
|
217
|
0 |
0 |
if (not $self->select_bundles or $self->_is_bundle_selected->{$bundleNo})
|
230
|
0 |
0 |
if ($self->language eq 'all' or $self->selector eq 'all') { }
|
263
|
0 |
0 |
if ($self->report_progress)
|
269
|
0 |
0 |
if ($self->if_missing_zone eq 'create') { }
|
271
|
0 |
0 |
if ($self->language eq 'all') { }
|
276
|
0 |
0 |
if ($self->selector eq 'all') { }
|
288
|
0 |
0 |
if (not @zones and $self->if_missing_zone =~ /fatal|warn/)
|
295
|
0 |
0 |
if $self->if_missing_zone eq 'fatal'
|
307
|
0 |
0 |
if ($self->language ne 'all')
|
310
|
0 |
0 |
if ($self->selector ne 'all')
|
321
|
0 |
0 |
if (my $m = $meta->find_method_by_name("process_${layer}tree"))
|
322
|
0 |
0 |
unless ($zone->has_tree($layer))
|
323
|
0 |
0 |
if ($self->if_missing_tree eq 'create') { }
|
335
|
0 |
0 |
if (my $m = $meta->find_method_by_name("process_${layer}node"))
|
336
|
0 |
0 |
unless ($zone->has_tree($layer))
|
337
|
0 |
0 |
if ($self->if_missing_tree eq 'create') { }
|
346
|
0 |
0 |
$layer eq 'p' ? :
|
349
|
0 |
0 |
if ref $node eq 'Treex::Core::Node::Deleted'
|
365
|
0 |
0 |
if ($self->_try_process_layer($zone, $layer, $bundleNo))
|
370
|
0 |
0 |
if (not $overriden and $self->if_missing_tree =~ /fatal|warn/)
|
375
|
0 |
0 |
if $self->if_missing_tree eq 'fatal'
|
433
|
0 |
0 |
unless eval "use $other_block_full_name; 1;"
|
437
|
0 |
0 |
unless eval {
do {
$other_block = $other_block_full_name->new(\%params);
1
}
}
|
458
|
0 |
0 |
exists $self->_loaded_other_blocks->{$other_block_name} ? :
|