Meet SourceLevel, your automatic code reviewer

SourceLevel does continuous static analysis of your GitHub repositories and delivers it straight to your Pull Requests

Get started for free
Go to line 1
defmodule EngineCredo.Runner do
Go to line 2
  @moduledoc """
Go to line 3
  Actual checking of the source files. A list of issues found for each file is
Go to line 4
  attached, then each issue is later converted from an `Ecto.Issue` to an
Go to line 5
  `EngineCredo.Issue` for proper output formatting.
Go to line 8
  alias EngineCredo.{Issue, Config}
Go to line 9
  alias Credo.CLI.Filter

The alias Credo.CLI.Filter is not alphabetically ordered among its group.

Go to line 10
  alias Credo.Execution
Go to line 12
  def check(%Config{execution: execution, source_files: files, source_code_path: path_prefix}) do
Go to line 13
    :ok =, execution)
Go to line 15
    issues = Execution.get_issues(execution)
Go to line 17
    extract_issues(issues, path_prefix, execution)
Go to line 20
  defp extract_issues(issues, path_prefix, execution) do
Go to line 22
    |> Filter.valid_issues(execution)
Go to line 23
    |>, path_prefix))