Current section

Files

Jump to
reach lib reach map hotspot.ex
Raw

lib/reach/map/hotspot.ex

defmodule Reach.Map.Hotspot do
@moduledoc "Struct for complexity × callers hotspot metrics."
@derive Jason.Encoder
defstruct [
:module,
:function,
:display_function,
:file,
:line,
:branches,
:callers,
:score,
:clauses
]
def new(attrs), do: struct!(__MODULE__, attrs)
end