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.CLI do
Go to line 2
  @moduledoc """
Go to line 3
  EngineCredo.CLI is the entrypoint for the code analysis escript.
Go to line 5
  A single command line parameter is expected, defining the root directory
Go to line 6
  where the source files are located.
Go to line 9
  alias EngineCredo.{Config, Runner, Formatter}

The alias EngineCredo is not alphabetically ordered among its group.

Go to line 11
  def main(argv) do
Go to line 12
    config = apply(Config, :read, Enum.take(argv, 2))
Go to line 15
    |> Runner.check
Go to line 16
    |> Formatter.print
Go to line 19
      # credo:disable-for-next-line Credo.Check.Warning.IoInspect
Go to line 20
      IO.puts(:stderr, Exception.format(:error, error, __STACKTRACE__))
Go to line 21
      System.halt(1)