surgeventures/surgex

View on GitHub
lib/surgex/data_pipe/table_sync.ex

Summary

Maintainability
Test Coverage

Avoid apply/2 and apply/3 when the number of arguments is known
Open

        %{rows: [[upserts, deletions]]} = apply(repo, :query!, [sql, params])
Severity: Minor
Found in lib/surgex/data_pipe/table_sync.ex by credo

Avoid apply/2 and apply/3 when the number of arguments is known

Enum.map_join/3 is more efficient than Enum.map/2 |> Enum.join/2
Open

           |> Enum.join())
Severity: Critical
Found in lib/surgex/data_pipe/table_sync.ex by credo

Enum.map_join/3 is more efficient than Enum.map/2 |> Enum.join/2

There are no issues that match your filters.

Category
Status