Branch Coverage

File:blib/lib/Music/NWC2MusicXML/NWC.pm
Coverage:84.4%

line%coveragebranch
13950TFunless defined $args
212100TFunless defined $filename and length $filename
215100TFunless -f $filename and -r $filename
22150TFunless open my $fh, "<:raw", $filename
229100TFref $proto ? :
300100TFref $proto ? :
303100TFif not defined $data or length $data < $MIN_FILE_BYTES
307100TFunless substr($data, 0, $NWC_MAGIC_LEN) eq $NWC_MAGIC
326100TFif $marker_pos < 0
334100TFunless (utf8::decode($nwctxt))
366100TFunless $cmf == $ZLIB_CMF
36750TFunless ($cmf * 256 + $flg) % 31 == 0
388100TFunless defined $raw
39150TFif length $raw > $MAX_DECOMP_BYTES
403100TFunless defined $self->{'_diagnostics'}
40950TFunless exists $MESSAGES{$key}