| line | % | coverage | condition |
| 637 | 100 | | &blessed($score) and $score->isa("Music::NWC2MusicXML::Score") |
| 653 | 50 | | $score->page_setup // {} |
| 686 | 50 | | $ps //= {} |
| 690 | 67 | | $ps->{'Left'} // $DEFAULT_MARGIN_CM |
| 691 | 67 | | $ps->{'Right'} // $left |
| 692 | 67 | | $ps->{'Top'} // $left |
| 693 | 67 | | $ps->{'Bottom'} // $left |
| 717 | 50 | | $fonts //= [] |
| 747 | 50 | | $font->{'typeface'} // "" |
| 748 | 50 | | $font->{'style'} // "" |
| 749 | 100 | | $style =~ /\AStaff/i and not defined $word_font |
| 67 | | $style eq "StaffLyric" and not defined $lyric_font |
| 758 | 50 | | $font->{'typeface'} // "" |
| 779 | 50 | | $meta->{'Title'} // "" |
| 791 | 50 | | $meta->{'Author'} // "" |
| 794 | 0 | | $meta->{'Lyricist'} // "" |
| 798 | 33 | | defined $meta->{'Copyright'} and length $meta->{'Copyright'} |
| 67 | | defined $meta->{'Copyright1'} or defined $meta->{'Copyright2'} |
| 800 | 33 | | defined $meta->{'Copyright1'} and length $meta->{'Copyright1'} |
| 802 | 67 | | defined $meta->{'Copyright2'} and length $meta->{'Copyright2'} |
| 811 | 33 | | defined $meta->{'Comments'} and length($meta->{'Comments'} // "") |
| 0 | | $meta->{'Comments'} // "" |
| 823 | 33 | | $layout //= _compute_page_layout(scalar {}) |
| 833 | 67 | | defined $meta->{'Title'} and length $meta->{'Title'} |
| 845 | 67 | | defined $meta->{'Author'} and length $meta->{'Author'} |
| 860 | 33 | | defined $meta->{'Copyright'} and length $meta->{'Copyright'} |
| 67 | | defined $meta->{'Copyright1'} or defined $meta->{'Copyright2'} |
| 862 | 33 | | defined $meta->{'Copyright1'} and length $meta->{'Copyright1'} |
| 864 | 67 | | defined $meta->{'Copyright2'} and length $meta->{'Copyright2'} |
| 912 | 50 | | $staff->{'_visible'} // 1 |
| 915 | 67 | | $instr and $instr->{'name'} |
| 921 | 100 | | $staff->{'_channel'} // 1 |
| 953 | 100 | | $staves->[$i]{'_with_next_staff'} // "" |
| 961 | 50 | | $staves->[$i]{'_with_next_staff'} // "" |
| 1022 | 50 | | $staff->name // "" |
| 1026 | 67 | | length $name and not $name =~ /^Staff(?:-\d+)?$/i |
| 1029 | 50 | | $staff->instrument // {} |
| 1031 | 67 | | defined $instr->{'name'} and length $instr->{'name'} |
| 1063 | 100 | | $staff->initial_clef // "Treble" |
| 1064 | 100 | | +($staff->initial_key // {})->{'fifths'} // 0 |
| 100 | | $staff->initial_key // {} |
| 1082 | 50 | | $event->data->{'style'} // "normal" |
| 1094 | 33 | | $event->data->{'nwc_clef'} // $clef_now |
| 1098 | 50 | | +($event->data // {})->{'fifths'} // 0 |
| 50 | | $event->data // {} |
| 1106 | 100 | | @pending or $measure_no == 1 |
| 1110 | 100 | | $staff->{'_ending_bar'} // "normal" |
| 1122 | 50 | | $clef // "Treble" |
| 1123 | 50 | | $key_fifths // 0 |
| 1124 | 50 | | $prev_bar //= "normal" |
| 1125 | 50 | | $bar_style //= "normal" |
| 1126 | 50 | | $ann //= {} |
| 1135 | 67 | | $prev_bar eq "MasterRepeatOpen" or $prev_bar eq "LocalRepeatOpen" |
| 1146 | 67 | | defined $vol or defined $pan |
| 1156 | 100 | | $$ann{"$event"} // {} |
| 1159 | 50 | | $event->data // {} |
| 1162 | 33 | | $event->data->{'nwc_clef'} // $curr_clef |
| 1166 | 50 | | $event->data // {} |
| 1167 | 50 | | $kd->{'fifths'} // 0 |
| 1171 | 50 | | $event->data // {} |
| 1173 | 100 | | $d->{'text'} // "" |
| 1176 | 50 | | $event->data // {} |
| 1181 | 50 | | $event->data // {} |
| 1186 | 50 | | $event->data // {} |
| 1187 | 50 | | $d->{'style'} // "" |
| 1192 | 0 | | $event->data // {} |
| 1197 | 0 | | $event->data // {} |
| 1201 | 0 | | $event->data // {} |
| 1228 | 67 | | $bar_style eq "SectionClose" or $bar_style eq "LocalRepeatClose" |
| 1274 | 100 | | $type eq "Note" or $type eq "Chord" or $type eq "Rest" |
| 1281 | 50 | | $ev->data->{'nwc_positions'} // [] |
| 1282 | 50 | | $ev->data->{'nwc_pos'} // 0 |
| 1301 | 100 | | $ev->data->{'articulations'} // [] |
| 1324 | 67 | | $in_slur and defined $last_slur_ev |
| 1333 | 50 | | $ann //= {} |
| 1338 | 33 | | $type eq "Lyric" and defined $last_note_key |
| 100 | | $type eq "Note" or $type eq "Chord" |
| 1341 | 0 | | $ev->data // {} |
| 1345 | 0 | | $d->{'syllabic'} // "single" |
| 0 | | $d->{'text'} // "" |
| 0 | | $d->{'verse'} // 1 |
| 1359 | 50 | | $ann //= {} |
| 1366 | 100 | | $type eq "Note" or $type eq "Rest" or $type eq "Chord" |
| 1369 | 100 | | $ev->data->{'opts'} // {} |
| 1374 | 100 | | defined $wedge_now and !defined($ev_wedge) || $ev_wedge ne $wedge_now |
| 1378 | 100 | | not defined $wedge_now and defined $ev_wedge |
| 1387 | 67 | | defined $wedge_now and defined $prev_wedge_key |
| 1399 | 50 | | $ann //= {} |
| 1404 | 100 | | $type eq "TempoVariance" and ($ev->data->{'style'} // "") eq "Fermata" |
| 100 | | $type eq "Note" or $type eq "Rest" or $type eq "Chord" |
| 50 | | $ev->data->{'style'} // "" |
| 1423 | 50 | | $ev_ann //= {} |
| 1424 | 50 | | $bar_accidentals //= {} |
| 1429 | 50 | | $d->{'nwc_pos'} // 0 |
| 1440 | 50 | | $NWC_TYPE_MAP{$d->{'base_dur'} // "4th"} // "quarter" |
| 50 | | $d->{'base_dur'} // "4th" |
| 1443 | 50 | | $d->{'nwc_pos'} // 0 |
| 1444 | 100 | | $ev_ann->{'tie_stop_keys'} // {} |
| 1445 | 100 | | $ev_ann->{'tie_start_keys'} // {} |
| 1448 | 100 | | !$is_chord_member && $ev_ann->{'slur_start'} |
| 1449 | 100 | | !$is_chord_member && $ev_ann->{'slur_stop'} |
| 1467 | 100 | | $d->{'dots'} // 0 |
| 1477 | 100 | | not $is_chord_member and $ev_ann->{'fermata'} |
| 1481 | 100 | | $d->{'articulations'} // [] |
| 1516 | 50 | | $ev_ann->{'lyrics'} // [] |
| 1517 | 0 | | $lyric->{'verse'} // 1 |
| 1518 | 0 | | $lyric->{'syllabic'} // "single" |
| 1519 | 0 | | $lyric->{'text'} // "" |
| 1533 | 50 | | $ev_ann //= {} |
| 1539 | 50 | | $NWC_TYPE_MAP{$d->{'base_dur'} // "4th"} // "quarter" |
| 50 | | $d->{'base_dur'} // "4th" |
| 1546 | 50 | | $d->{'dots'} // 0 |
| 1558 | 50 | | $ev_ann //= {} |
| 1559 | 50 | | $bar_accidentals //= {} |
| 1563 | 50 | | $d->{'nwc_positions'} // [0] |
| 1578 | 100 | | +($ev_ann->{'tie_start_keys'} // {})->{$pk} // 0 |
| 100 | | $ev_ann->{'tie_stop_keys'} // {} |
| 100 | | +($ev_ann->{'tie_stop_keys'} // {})->{$pk} // 0 |
| 100 | | $ev_ann->{'tie_start_keys'} // {} |
| 1605 | 50 | | $d->{'articulations'} // [] |
| 50 | | $d->{'dots'} // 0 |
| 1620 | 50 | | $pos_str //= 0 |
| 1621 | 50 | | $clef //= "Treble" |
| 1622 | 50 | | $key_fifths //= 0 |
| 1630 | 67 | | $CLEF_REF{$clef} // $CLEF_REF{'Treble'} |
| 1674 | 50 | | $bpm //= 120 |
| 1675 | 50 | | $base //= "Quarter" |
| 1676 | 50 | | $text //= "" |
| 1678 | 33 | | $TEMPO_BASE_MAP{$base} // $TEMPO_BASE_MAP{'Quarter'} |
| 1706 | 50 | | $marking //= "" |
| 1707 | 50 | | $placement //= "" |
| 1723 | 67 | | defined $dyn_vel and defined $dyn_vel->{$marking} |
| 1742 | 50 | | $style //= "" |
| 1743 | 100 | | $placement //= "" |
| 1766 | 50 | | $style //= "" |
| 1767 | 50 | | $placement //= "below" |
| 1796 | 50 | | $style //= "" |
| 1797 | 50 | | $placement //= "above" |
| 1800 | 33 | | $TEMPO_VARIANCE_TEXT{$style} // $style |
| 1815 | 0 | | $text //= "" |
| 1816 | 0 | | $placement //= "" |
| 1831 | 0 | | $directive //= "" |
| 1855 | 0 | | $patch // 0 |
| 1870 | 50 | | $ts_data->{'beats'} // 4 |
| 1871 | 50 | | $ts_data->{'beat_type'} // 4 |
| 1886 | 33 | | $CLEF_MAP{$clef_name} // $CLEF_MAP{'Treble'} |
| 1902 | 50 | | $key_data->{'fifths'} // 0 |
| 1946 | 100 | | +($staff->instrument // {})->{'trans'} // 0 |
| 50 | | $staff->instrument // {} |
| 2007 | 67 | | $XML_ESCAPE_MAP{$1} // sprintf("&#%d;", ord $1) |