| line |
!l |
l&&!r |
l&&r |
condition |
|
68
|
14402 |
2866 |
3171 |
$level == -1 and $type eq "DOC" |
|
89
|
9813 |
7 |
1 |
$self->partial && $level == 0 |
|
114
|
778 |
33 |
358 |
$parent->{'type'} eq "MAP" and not $node->{'index'} % 2 |
|
136
|
10611 |
5 |
2 |
$self->partial && $level == 0 |
|
147
|
3151 |
68 |
4206 |
$node->{'index'} % 2 and not $node->multiline |
|
|
2666 |
88 |
7337 |
$parent->{'type'} eq "MAP" and ($node->{'index'} % 2 and not $node->multiline) |
|
179
|
142 |
552 |
5331 |
$i == $startline and $col > 0 |
|
218
|
268 |
433 |
68 |
$startline < $endline and not $lines->[$startline] =~ tr/ //c |
|
229
|
1 |
356 |
344 |
not $ignore_firstlevel and length $sp != $new_indent |
|
234
|
699 |
16 |
122 |
not $line =~ tr/ //c and length $line <= length $sp |
|
263
|
627 |
21 |
204 |
not $line =~ tr/ //c and length $line <= length $sp |
|
289
|
587 |
491 |
0 |
$level == 0 and not $indenttoplevelscalar |
|
325
|
7641 |
806 |
1539 |
defined $default_style and $node->{'style'} != $default_style |
|
476
|
1231 |
1594 |
346 |
$node->open->{'implicit'} and $self->cfg->addheader |
|
|
2825 |
0 |
346 |
$node->open->{'implicit'} and $self->cfg->addheader and not $self->partial |
|
|
329 |
1594 |
902 |
$node->{'index'} == 1 and not $open->{'implicit'} |
|
|
1923 |
743 |
159 |
$node->{'index'} == 1 and not $open->{'implicit'} and $self->cfg->removeheader |
|
|
2337 |
0 |
159 |
$node->{'index'} == 1 and not $open->{'implicit'} and $self->cfg->removeheader and not $self->partial |
|
489
|
84 |
54 |
3 |
not $child->is_collection and $child->empty_leaf |
|
507
|
138 |
2502 |
531 |
$close->{'implicit'} and $self->cfg->addfooter |
|
|
2640 |
0 |
531 |
$close->{'implicit'} and $self->cfg->addfooter and not $self->partial |
|
|
2502 |
111 |
27 |
not $close->{'implicit'} and $self->cfg->removefooter |
|
|
2613 |
0 |
27 |
not $close->{'implicit'} and $self->cfg->removefooter and not $self->partial |
|
518
|
12 |
0 |
15 |
$next and $next->open->{'version_directive'} || $next->open->{'tag_directives'} |
|
576
|
973 |
276 |
92 |
$parent->{'type'} eq "MAP" and $node->{'index'} % 2 |
|
649
|
0 |
667 |
60 |
$start->{'column'} > 0 and substr($line, $start->{'column'} - 1, 1) eq ":" |
|
765
|
80 |
403 |
2 |
$offset > 0 and $line =~ /^ {0,$offset1}\#/u |
| line |
l |
!l&&r |
!l&&!r |
condition |
|
28
|
33 |
1 |
0 |
delete $args{'cfg'} || 'YAML::Tidy::Config'->new |
|
90
|
6037 |
1 |
3783 |
$level < 0 or $ignore_firstlevel |
|
214
|
411 |
290 |
5038 |
$node->{'style'} eq 4 || $node->{'style'} eq 5 |
|
215
|
4321 |
202 |
515 |
$node->{'style'} == 1 or $node->{'style'} == 2 |
|
|
4523 |
515 |
0 |
$node->{'style'} == 1 or $node->{'style'} == 2 or $node->{'style'} == 3 |
|
277
|
709 |
369 |
3960 |
not $skipfirst or $node->multiline |
|
331
|
59 |
0 |
1301 |
defined $node->{'anchor'} or $node->{'tag'} |
|
349
|
19 |
133 |
1387 |
grep {$_ eq $value;} @all or $value =~ /($re)/u |
|
351
|
148 |
3 |
1 |
$node->{'style'} eq 1 or $style eq 1 |
|
489
|
3 |
15 |
141 |
$open->{'version_directive'} or $open->{'tag_directives'} |
|
|
15 |
3 |
138 |
$open->{'version_directive'} or $open->{'tag_directives'} or not $child->is_collection and $child->empty_leaf |
|
518
|
6 |
9 |
0 |
$next->open->{'version_directive'} || $next->open->{'tag_directives'} |
|
549
|
447 |
346 |
11547 |
$node->{'style'} eq 4 or $node->{'style'} eq 5 |
|
562
|
2898 |
934 |
0 |
$block_indent //= $parent->indent + $self->cfg->indent |
|
643
|
40 |
180 |
507 |
$prev->is_collection or $prev->is_quoted |
|
679
|
4484 |
0 |
0 |
$endcol || length $line |
|
830
|
467 |
934 |
6955 |
$flow or ($event->{'style'} // -1) == 2 |
|
|
1401 |
0 |
6955 |
$flow or ($event->{'style'} // -1) == 2 or ($event->{'style'} // -1) == 2 |