ltgcgo/octavia

View on GitHub
src/state/utils.js

Summary

Maintainability
A
1 hr
Test Coverage

Showing 2 of 2 total issues

Function customInterpreter has a Cognitive Complexity of 8 (exceeds 5 allowed). Consider refactoring.
Open

let customInterpreter = function (type, file, rawMtLen) {
let u8Data = [];
let metaLength = rawMtLen == false ? file.readIntVLV() : rawMtLen;
if (type == 0 || type == 127) {
//metaLength = 1;
Severity: Minor
Found in src/state/utils.js - About 45 mins to fix

Similar blocks of code found in 2 locations. Consider refactoring.
Open

export {
toDecibel,
gsChecksum,
korgFilter,
korgUnpack,
Severity: Minor
Found in src/state/utils.js and 1 other location - About 50 mins to fix
src/disp/colour.js on lines 39..50

There are no issues that match your filters.

Category
Status