CartoDB/Windshaft

View on GitHub
lib/renderers/torque/png-renderer.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function constructor has 51 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    constructor (layer, psql, attrs) {
        const cartoCssOptions = torque.common.TorqueLayer.optionsFromCartoCSS(layer.options.cartocss);
        const rendererOptions = {
            bufferSize: cartoCssOptions['buffer-size'] !== undefined ? cartoCssOptions['buffer-size'] : 32
        };
Severity: Major
Found in lib/renderers/torque/png-renderer.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status