| line |
true |
false |
branch |
|
25
|
2 |
0 |
/::/ ? : |
|
27
|
2 |
0 |
$class->can('formatter_id') ? : |
|
36
|
0 |
0 |
/::/ ? : |
|
38
|
0 |
0 |
$class->can('wafl_id') ? : |
|
45
|
1 |
0 |
unless $self->hub->registry_loaded |
|
82
|
4 |
4 |
if (@$units == 1 and not ref $$units[0] and @{$self->contains_phrases;}) |
|
94
|
6 |
2 |
unless ref $$units[$i] |
|
96
|
0 |
2 |
if $i |
|
111
|
0 |
6 |
unless my $class = $$table{$format_id} |
|
115
|
4 |
2 |
unless $unit->match |
|
116
|
2 |
0 |
if not defined $match or $unit->start_offset < $match->start_offset |
|
119
|
2 |
0 |
unless $match->start_offset |
|
132
|
6 |
2 |
unless (defined $match) |
|
136
|
0 |
2 |
if $match->start_offset |
|
147
|
0 |
0 |
unless $self->text =~ $self->pattern_block |
|
158
|
0 |
8 |
unless my $class = $$table{$format_id} |
|
165
|
4 |
4 |
unless $unit->match_phrase |
|
166
|
4 |
0 |
if not defined $match or $unit->start_offset < $match->start_offset |
|
169
|
4 |
0 |
if $match->start_offset == 0 |
|
182
|
4 |
8 |
if ($self->start_end_offset) |
|
183
|
4 |
0 |
if ($text =~ $self->pattern_end) { } |
|
184
|
4 |
0 |
if (not defined $match or $-[0] < $match->start_offset) |
|
195
|
4 |
4 |
unless (defined $match) |
|
205
|
0 |
4 |
if $match->start_offset |
|
220
|
4 |
4 |
unless $self->text =~ $self->pattern_start |
|
224
|
0 |
4 |
unless my $pattern_end = $self->pattern_end |
|
231
|
0 |
2 |
unless defined $text |
|
232
|
0 |
2 |
unless defined $text |
|
233
|
2 |
0 |
unless defined $start |
|
234
|
2 |
0 |
unless defined $end |
|
244
|
10 |
6 |
unless ref $$units[$i] |
|
251
|
6 |
10 |
ref $_ ? : |
|
293
|
0 |
6 |
if (ref $class) |
|
298
|
0 |
6 |
if defined $class and $class->isa($package) |
|
318
|
4 |
2 |
unless $self->text =~ /(?:^\.([\w\-]+)\ *\n)((?:.*\n)*?)(?:^\.\1\ *\n|\z)/m |
|
346
|
4 |
4 |
unless super() |
|
347
|
0 |
4 |
unless $self->matched =~ /^\{([\w\-]+)(?:\s*\:)?\s*(.*)\}$/ |