Branch Coverage

src/mac.c
Criterion Covered Total %
branch 10 26 38.4


line true false branch
22 0 2 if ((header_end = skip_id3v2(infile)) < 0) {
29 0 2 if (PerlIO_seek(infile, header_end, SEEK_SET) < 0) {
41 0 2 if (!_check_buf(infile, &header, APE_HEADER_LEN, APE_HEADER_LEN)) {
48 0 2 if (memcmp(bptr, "APETAGEX", 8) == 0) {
61 0 2 if (!_check_buf(infile, &header, 32, 32)) {
68 0 2 if (memcmp(bptr, "MAC ", 4) != 0) {
76 0 2 if (si->version < 3980) {
78 0 0 if (compression_id % 1000) {
85 0 0 if (!_check_buf(infile, &header, MAC_397_HEADER_LEN, MAC_397_HEADER_LEN)) {
101 0 0 si->blocks_per_frame = si->version >= 3950 ? (73728 * 4) : 73728;
107 0 2 if (!_check_buf(infile, &header, MAC_398_HEADER_LEN, MAC_398_HEADER_LEN)) {
126 0 2 if (profile % 1000) {
145 2 0 if (si->sample_rate) {