CartoDB/Windshaft

View on GitHub
lib/backends/preview.js

Summary

Maintainability
A
1 hr
Test Coverage

Function getImage has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    getImage (options, callback) {
        const { mapConfigProvider, format, width, height, zoom, center, bbox } = options;

        this._rendererCache.getRenderer(mapConfigProvider, (err, renderer) => {
            if (err) {
Severity: Minor
Found in lib/backends/preview.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status