Vizzuality/landgriffon

View on GitHub
api/src/modules/eudr-alerts/alerts.repository.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  async getAlertSummary(dto: any): Promise<EUDRAlertDatabaseResult[]> {
    const bigQueryBuilder: BigQueryAlertsQueryBuilder =
      this.createQueryBuilder(dto);
    bigQueryBuilder
      .from(this.baseDataset, 'alerts')
Severity: Minor
Found in api/src/modules/eudr-alerts/alerts.repository.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status