Current section

Files

Jump to
reach lib reach map module_coupling.ex
Raw

lib/reach/map/module_coupling.ex

defmodule Reach.Map.ModuleCoupling do
@moduledoc "Struct for per-module coupling detail."
@derive Jason.Encoder
defstruct [:name, :file, :afferent, :efferent, :instability]
def new(attrs), do: struct!(__MODULE__, attrs)
end