gfw-api/forest-watcher

View on GitHub
app/src/services/areas.service.js

Summary

Maintainability
A
1 hr
Test Coverage
F
39%

Function createAreaWithGeostore has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    static async createAreaWithGeostore({ name, image }, geojson, userId) {
        logger.info('Start area creation with params', { name, userId });
        logger.info('Start area creation with geojson', geojson);
        let geostore;
        let coverage;
Severity: Minor
Found in app/src/services/areas.service.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status