Coverage Report

Statementstmt 94.2% 1696 / 1799 Branchbran 84.1% 508 / 604 Conditioncond 64.2% 400 / 623 MC/DCmcdc 40.0% 135 / 337 Subroutinesub 95.4% 230 / 241 Podpod 96.7% 59 / 61 totaltotal 82.6% 3028 / 3665 CC 611 scar 28.5 CC 611 · cov 86% · CRAP 17.3
Prefix: blib/lib/Music/

Top SCAR

NWC2MusicXML/MusicXML.pm 33.3
CC
363
Cov
83%
_emit_measure
91.7
_emit_note_event
51.2
_emit_identification
30.7
CRAP 27.9
NWC2MusicXML/Score.pm 27.5
CC
39
Cov
89%
validate
32.2
_ts_to_rational
4.1
add_staff
4.0
CRAP 15.6
NWC2MusicXML/Parser.pm 21.0
CC
117
Cov
82%
_handle_lyric
56.0
_handle_instrument_change
12.0
_handle_flow_control
12.0
CRAP 8.2
NWC2MusicXML/NWC.pm 15.2
CC
23
Cov
96%
read
8.0
decode
8.0
_find_zlib_offset
4.0
CRAP 4.6
NWC2MusicXML.pm 13.9
CC
28
Cov
90%
_single_convert
7.3
_batch_output_path
6.1
convert
6.0
CRAP 4.0
4 4 files 75-90%
4 4 files 90-100%
< 75% 75-90% 90-100% at 100%
File Statementstmt Branchbran Conditioncond MC/DCmcdc Subroutinesub Podpod totaltotal CC SCAR
(root) 95.1 158 / 16675.0 30 / 4078.5 11 / 1455.5 5 / 996.0 24 / 25100 4 / 489.9 232 / 25828 13.9
CC
28
Cov
90%
CRAP 4.0
NWC2MusicXML.pm 95.1 158 / 16675.0 30 / 4078.5 11 / 1455.5 5 / 996.0 24 / 25100 4 / 489.9 232 / 25828 13.9
CC
28
Cov
90%
_single_convert
7.3
_batch_output_path
6.1
convert
6.0
CRAP 4.0
NWC2MusicXML 94.1 1538 / 163384.7 478 / 56463.8 389 / 60939.6 130 / 32895.3 206 / 21696.4 55 / 5782.0 2796 / 3407584 29.0
CC
584
Cov
86%
CRAP 18.2
MusicXML.pm 92.6 815 / 88086.9 287 / 33059.5 233 / 39131.7 67 / 21194.7 54 / 57100 2 / 277.9 1458 / 1871363 33.3
CC
363
Cov
83%
_emit_measure
91.7
_emit_note_event
51.2
_emit_identification
30.7
CRAP 27.9
Score.pm 97.5 118 / 12182.5 33 / 4067.6 23 / 3438.8 7 / 18100 26 / 2691.6 11 / 1286.8 218 / 25139 27.5
CC
39
Cov
89%
validate
32.2
_ts_to_rational
4.1
add_staff
4.0
CRAP 15.6
Parser.pm 90.9 261 / 28781.8 90 / 11062.2 79 / 12741.7 28 / 6785.7 42 / 49100 2 / 278.1 502 / 642117 21.0
CC
117
Cov
82%
_handle_lyric
56.0
_handle_instrument_change
12.0
_handle_flow_control
12.0
CRAP 8.2
NWC.pm 100 92 / 9284.3 27 / 3292.3 12 / 1387.5 7 / 8100 16 / 16100 3 / 395.7 157 / 16423 15.2
CC
23
Cov
96%
read
8.0
decode
8.0
_find_zlib_offset
4.0
CRAP 4.6
Event.pm 100 82 / 8283.3 15 / 1897.1 34 / 3589.4 17 / 19100 22 / 22100 11 / 1196.7 181 / 18724 13.9
CC
24
Cov
97%
new
8.0
rational_from_nwc_duration
7.0
_validate_rational
5.0
CRAP 4.0
Diagnostics.pm 98.9 94 / 9576.9 20 / 26100 4 / 4100 2 / 2100 19 / 19100 10 / 1095.5 149 / 15616 8.6
CC
16
Cov
94%
new
5.0
_record_warning
3.0
count
3.0
CRAP 2.4
Staff.pm 100 76 / 7675.0 6 / 880.0 4 / 566.6 2 / 3100 27 / 2794.1 16 / 1796.3 131 / 1368 5.0
CC
8
Cov
97%
add_event
4.0
has_notes
3.0
_fmt_msg
2.0
CRAP 1.7