fazibear/defql

View on GitHub
lib/defql/adapter/postgres.ex

Summary

Maintainability
Test Coverage

Module attribute @connection makes use of unsafe Application configuration call Application.get_env/2
Open

    @connection Application.get_env(:defql, :connection)
Severity: Critical
Found in lib/defql/adapter/postgres.ex by credo

Module attribute @connection makes use of unsafe Application configuration call Application.get_env/2

Space missing after comma
Open

    defp to_map(list),do: Enum.into(list,%{})
Severity: Major
Found in lib/defql/adapter/postgres.ex by credo

Space missing after comma

Space missing after comma
Open

    defp to_map(list),do: Enum.into(list,%{})
Severity: Major
Found in lib/defql/adapter/postgres.ex by credo

Space missing after comma

There are no issues that match your filters.

Category
Status