| blib/lib/ChordPro/Testing.pm | |||
|---|---|---|---|
| Criterion | Covered | Total | % |
| condition | 14 | 29 | 48.2 |
| line | !l | l&&!r | l&&r | condition |
|---|---|---|---|---|
| 43 | 13 | 0 | 66 | ref $got eq "HASH" and ref $expect eq "HASH" |
| 108 | 0 | 0 | 0 | $len1 == $len2 and $len1 == 0 |
| 109 | 0 | 0 | 0 | $len1 and $buf1 ne $buf2 |
| line | l | !l | condition |
|---|---|---|---|
| 133 | 0 | 0 | $lines1[$linesm] // "***missing***" |
| 134 | 0 | 0 | $lines2[$linesm] // "***missing***" |
| 142 | 38 | 0 | $s->{'body'} // [] |
| 143 | 41 | 135 | $_->{'chords'} // [] |
| 146 | 14 | 162 | $_->{'chorus'} // [] |
| 147 | 14 | 14 | $_->{'chords'} // [] |
| 151 | 8 | 168 | $_->{'tokens'} // [] |
| line | l | !l&&r | !l&&!r | condition |
|---|---|---|---|---|
| 50 | 29 | 5 | 30 | %{$got->{'chordsinfo'};} || $expect->{'chordsinfo'} |
| 109 | 0 | 0 | 0 | $len1 != $len2 or $len1 and $buf1 ne $buf2 |