Vizzuality/landgriffon

View on GitHub
api/src/modules/geo-coding/geocoders/google-maps.geocoder.ts

Summary

Maintainability
A
1 hr
Test Coverage
F
40%

Function geocode has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  async geocode(args: GeocodeArgs): Promise<GeocodeResponseData> {
    if (!this.apiKey) {
      this.logger.error(
        'Google API key missing when attempting to geocode location. Cannot process request.',
      );
Severity: Minor
Found in api/src/modules/geo-coding/geocoders/google-maps.geocoder.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status