ExDNA.Report (ExDNA v1.5.2)

Copy Markdown View Source

Analysis results: detected clones and summary statistics.

Summary

Types

stats()

@type stats() :: %{
  files_analyzed: non_neg_integer(),
  total_clones: non_neg_integer(),
  total_duplicated_lines: non_neg_integer(),
  type_i_count: non_neg_integer(),
  type_ii_count: non_neg_integer(),
  type_iii_count: non_neg_integer(),
  detection_time_ms: non_neg_integer()
}

t()

@type t() :: %ExDNA.Report{
  clones: [ExDNA.Detection.Clone.t()],
  config: ExDNA.Config.t(),
  stats: stats()
}

Functions

new(clones, config, opts \\ [])

@spec new([ExDNA.Detection.Clone.t()], ExDNA.Config.t(), keyword()) :: t()