Vizzuality/landgriffon

View on GitHub
api/src/modules/scenario-interventions/strategies/change-production-efficiency.intervention.strategy.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function generateNewLocationForChangeProductionEfficiency has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  generateNewLocationForChangeProductionEfficiency(
    sourcingLocations: SourcingLocation[],
  ): SourcingLocation[] {
    const newLocations: SourcingLocation[] = [];
    for (const location of sourcingLocations) {

    There are no issues that match your filters.

    Category
    Status