lib/ChordPro/Songbook.pm | |||
---|---|---|---|
Criterion | Covered | Total | % |
condition | 15 | 37 | 40.5 |
line | !l | l&&!r | l&&r | condition |
---|---|---|---|---|
40 | 0 | 1 | 141 | not defined $main::options->{'a2crd'} && !$main::options->{'a2crd'} || $main::options->{'fragment'} and &any(sub { /\S/; } , @$lines) |
1 | 141 | 0 | not defined $main::options->{'a2crd'} && !$main::options->{'a2crd'} || $main::options->{'fragment'} and &any(sub { /\S/; } , @$lines) and $main::options->{'crd'} || !&any(sub { /^{\s*\w+/; } , @$lines) |
line | l | !l | condition |
---|---|---|---|
28 | 81 | 61 | $opts //= {} |
29 | 0 | 142 | delete $opts->{'meta'} // {} |
30 | 0 | 142 | delete $opts->{'defs'} // {} |
50 | 142 | 0 | $opts //= {} |
75 | 0 | 1 | $self->{'assets'} //= {} |
line | l | !l&&r | !l&&!r | condition |
---|---|---|---|---|
40 | 0 | 0 | 142 | defined $main::options->{'a2crd'} && !$main::options->{'a2crd'} || $main::options->{'fragment'} |
0 | 0 | 141 | $main::options->{'crd'} || !&any(sub { /^{\s*\w+/; } , @$lines) | |
45 | 0 | 0 | 0 | $main::options->{'a2crd'} || $main::options->{'crd'} |
0 | 0 | 0 | $main::options->{'verbose'} or not $main::options->{'a2crd'} || $main::options->{'crd'} | |
69 | 0 | 170 | 0 | $opts->{'filesource'} || $opts->{'_filesource'} |
85 | 115 | 27 | 0 | $songs or $main::running_under_test |
107 | 0 | 0 | 0 | $defs->{'title'} // $filename |