Strilanc/Quirk

View on GitHub
src/webgl/Shaders.js

Summary

Maintainability
A
1 hr
Test Coverage

Function data has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

Shaders.data = rgbaData => new WglConfiguredShader(destinationTexture => {
    let [w, h] = [destinationTexture.width, destinationTexture.height];
    if (rgbaData.length !== w * h * 4) {
        throw new DetailedError("rgbaData.length isn't w * h * 4", {w, h, len: rgbaData.length, rgbaData});
    }
Severity: Minor
Found in src/webgl/Shaders.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status