line |
!l |
l&&!r |
l&&r |
condition |
143
|
91 |
0 |
78 |
not $main::options->{'nosongconfig'} and $diag->{'file'} |
152
|
0 |
78 |
0 |
$meta and $meta->{'__config'} |
185
|
0 |
0 |
0 |
@$c and $c->[0] eq "append" |
310
|
1925 |
0 |
0 |
/\\\Z/ and @$lines |
382
|
1 |
0 |
3 |
@$lines and $lines->[0] =~ /^# (.+)/ |
423
|
0 |
0 |
0 |
@$lines and $lines->[0] =~ /^# (.+)/ |
467
|
0 |
0 |
0 |
$self->{'body'} and @{$self->{'body'};} |
|
0 |
0 |
0 |
$self->{'body'} and @{$self->{'body'};} and $self->{'body'}[-1]{'context'} eq $in_context |
|
0 |
0 |
0 |
$self->{'body'} and @{$self->{'body'};} and $self->{'body'}[-1]{'context'} eq $in_context and $self->{'body'}[-1]{'open'} |
508
|
297 |
0 |
491 |
/\S/ and not $fragment |
|
297 |
491 |
0 |
/\S/ and not $fragment and not exists $self->{'title'} |
579
|
3 |
0 |
2 |
$diagrams &&= $main::config->{'diagrams'}{'show'} || 'all' |
585
|
55 |
114 |
0 |
$diagrams =~ /^(user|all)$/ and not "ChordPro::Chords::Parser"->get_parser($target, 1)->has_diagrams |
594
|
0 |
0 |
0 |
$self->{'define'} and @{$self->{'define'};} |
772
|
23 |
4 |
1008 |
$chord =~ s/^\[(.*)\]$/$1/ and $chord ne "^" |
|
7 |
0 |
20 |
$memchords and $in_context |
774
|
982 |
5 |
21 |
$memchords and not $dummy |
790
|
16 |
3 |
1 |
$memcrdinx == 0 and @$memchords == 0 |
1101
|
47 |
0 |
2 |
$arg and $arg ne "" |
1134
|
2 |
0 |
0 |
$in_context eq "chorus" and not $main::config->{'settings'}{'choruslabels'} |
1169
|
1 |
29 |
0 |
@$chorus and $arg |
|
30 |
0 |
0 |
@$chorus and $arg and $arg ne "" |
1170
|
0 |
0 |
0 |
$chorus->[0]{'type'} eq "set" and $chorus->[0]{'name'} eq "label" |
1237
|
14 |
110 |
0 |
exists $res{'text'} and $res{'text'} =~ /^[ \t]*$/ |
1248
|
8 |
0 |
1 |
$k =~ /^(title)$/i and $v ne "" |
|
6 |
0 |
2 |
$k =~ /^(border|spread|center)$/i and $v =~ /^(\d+)$/ |
|
4 |
0 |
2 |
$k =~ /^(width|height)$/i and $v =~ /^(\d+(?:\.\d+)?\%?)$/ |
|
4 |
0 |
0 |
$k =~ /^(x|y)$/i and $v =~ /^([-+]?\d+(?:\.\d+)?\%?)$/ |
|
3 |
0 |
1 |
$k =~ /^(scale)$/ and $v =~ /^(\d+(?:\.\d+)?)(%)?$/ |
|
3 |
0 |
0 |
$k =~ /^(src|uri)$/i and $v ne "" |
|
2 |
0 |
1 |
$k =~ /^(id)$/i and $v ne "" |
|
2 |
0 |
0 |
$k =~ /^(anchor)$/i and $v =~ /^(paper|page|column|line)$/ |
1289
|
1 |
0 |
2 |
$uri and not $uri =~ m[/\\] |
1302
|
1 |
2 |
0 |
$uri and $id |
1405
|
146 |
0 |
9 |
$key eq "duration" and $val |
1410
|
0 |
0 |
16 |
$capo and $m->{'key'} |
1435
|
0 |
171 |
0 |
$main::config->{'metadata'}{'strict'} and not &any(sub {
$_ eq $key;
}
, @{$$main::config{"metadata"}{"keys"};}) |
1456
|
173 |
0 |
22 |
$dir eq "titles" and $arg =~ /^(left|right|center|centre)$/i |
1463
|
154 |
0 |
19 |
$dir eq "columns" and $arg =~ /^(\d+)$/ |
1467
|
19 |
0 |
0 |
ref $main::config->{'settings'}{'columns'} eq "ARRAY" and $arg == @{$main::config->{'settings'}{'columns'};} |
1540
|
13 |
2 |
0 |
$capo and $decapo |
1554
|
0 |
94 |
0 |
not $main::options->{'reference'} and $d =~ /^([-+])([-\w.]+)$/i |
1565
|
0 |
83 |
11 |
not $main::options->{'reference'} and $dir =~ /^\+([-\w.]+(?:\.[<>])?)$/ |
1586
|
0 |
11 |
0 |
ref $o eq "HASH" and ref $o->{$lk} eq "ARRAY" |
1593
|
11 |
0 |
0 |
$lk =~ /^\d+$/ || $lk eq '>' || $lk eq '<' and ref $o eq "ARRAY" |
1670
|
16 |
8 |
0 |
$prop eq "font" and $value =~ /\s(\d+(?:\.\d+)?)$/ |
1693
|
0 |
1 |
0 |
$main::config->{'settings'}{'strict'} and not $d =~ /^x_/ |
1738
|
149 |
0 |
2 |
$a eq "display" and @a |
|
140 |
0 |
9 |
$a eq "format" and @a |
|
0 |
0 |
13 |
$a eq "diagram" and @a > 0 |
1779
|
39 |
18 |
342 |
@a and $a[0] =~ /^(?:[0-9]+|[-xXN])$/ |
|
57 |
0 |
342 |
@a and $a[0] =~ /^(?:[0-9]+|[-xXN])$/ and @f < $strings |
1797
|
8 |
8 |
96 |
@a and @f < $strings |
1827
|
1 |
7 |
24 |
@a and $a[0] =~ /^[0-9]+$/ |
1841
|
13 |
0 |
0 |
$show and not is_true($a[0]) |
1930
|
0 |
6 |
2 |
defined $self->{'body'} and $self->{'body'}[-1]{'type'} eq "diagrams" |
2014
|
1098 |
10 |
4 |
$capo and $decapo |
2032
|
21 |
211 |
0 |
$info and $debug > 1 |
2036
|
21 |
0 |
227 |
$info && $info->is_xpxc |
|
864 |
227 |
21 |
$def || $xp || $xc and not $info && $info->is_xpxc |
2043
|
0 |
0 |
1112 |
$info and $info->is_xpxc |
|
0 |
0 |
0 |
$def and not $xc || $xp |
2053
|
956 |
0 |
156 |
$xp and $info |
2065
|
227 |
0 |
0 |
$main::config->{'instrument'}{'type'} eq "keyboard" and my $k = ChordPro::Chords::get_keys($info) |
2087
|
1092 |
0 |
20 |
$xc and $info |
2091
|
20 |
0 |
0 |
$xcmov and not defined $key_ord |
2155
|
195 |
0 |
56 |
$item->{'type'} eq "empty" and $item->{'context'} eq $def_context |
2159
|
80 |
79 |
36 |
$item->{'type'} eq "songline" and $item->{'context'} eq "" |
line |
l |
!l&&r |
!l&&!r |
condition |
280
|
2 |
167 |
0 |
$target //= $self->{'system'} |
442
|
54 |
0 |
0 |
exists $self->{'title'} or $fragment |
477
|
0 |
0 |
0 |
$xpose or $main::config->{'settings'}{'transpose'} |
526
|
297 |
0 |
0 |
exists $self->{'title'} or $fragment |
705
|
4 |
2 |
1 |
$markup =~ s/\>\Q$c\E\>%{formatted} or $markup =~ s/\>\(\Q$c\E\)\>(%{formatted}) |
723
|
6 |
6 |
922 |
$info->is_nc or $info->is_note |
725
|
0 |
0 |
0 |
$info->is_rootless || $info->has_diagram || !$info->parser->has_diagrams |
874
|
0 |
0 |
663 |
$_ eq "|:" or $_ eq "{" |
|
0 |
0 |
663 |
$_ eq ":|" or $_ eq "}" |
|
0 |
0 |
663 |
$_ eq ":|:" or $_ eq "}{" |
919
|
0 |
0 |
2 |
$_ eq '.' || $_ eq '' |
1049
|
4 |
7 |
0 |
$abbrevs{$1} // $1 |
1056
|
5 |
0 |
6 |
$sel eq lc $main::config->{'instrument'}{'type'} || ($sel eq lc $main::config->{'user'}{'name'} || $self->{'meta'}{lc $sel} && is_true($self->{'meta'}{lc $sel}[0])) |
1069
|
161 |
827 |
0 |
$abbrevs{$dir} // $dir |
1222
|
14 |
2 |
786 |
$dir eq "new_page" or $dir eq "new_physical_page" |
1379
|
0 |
0 |
263 |
$key eq "user" or $key eq "instrument" |
1475
|
1 |
1 |
152 |
$dir eq "pagetype" or $dir eq "pagesize" |
1593
|
0 |
0 |
11 |
$lk =~ /^\d+$/ || $lk eq '>' || $lk eq '<' |
1686
|
50 |
8 |
1 |
$dir eq "define" or $dir eq "chord" |
1738
|
11 |
0 |
151 |
$a eq "copy" or $a eq "copyall" |
1870
|
0 |
323 |
517 |
$res->{$_} //= $info->{$_} // "" |
1876
|
0 |
16 |
16 |
$res->{$_} //= $info->{$_} |
1884
|
0 |
11 |
59 |
$kv{'copyall'} // $kv{'copy'} |
1889
|
0 |
44 |
0 |
$res->{$_} //= $orig->{$_} |
1892
|
0 |
0 |
0 |
$res->{$_} //= $orig->{$_} |
1924
|
0 |
70 |
0 |
$res->{'parser'} //= ChordPro::Chords::get_parser() |
2036
|
228 |
20 |
864 |
$def || $xp || $xc |
2043
|
0 |
0 |
0 |
$xc || $xp |
|
1112 |
0 |
0 |
$info and $info->is_xpxc or $def and not $xc || $xp |
2050
|
0 |
0 |
0 |
$xp or $xc |
|
0 |
0 |
0 |
$xp or $xc or $main::config->{'debug'}{'chords'} |
2055
|
118 |
37 |
1 |
$xpose_dir // $global_dir |
2118
|
1112 |
0 |
0 |
$info or $def |
2119
|
0 |
0 |
0 |
$main::config->{'debug'}{'chords'} or not $warned_chords{$chord}++ |