LowEndInsight v0.2.3 AnalyzerModule View Source

Analyzer takes in a repo url and coordinates the analysis, returning a simple JSON report.

Link to this section Summary

Functions

analyze/2: returns the LowEndInsight report as JSON for multiple_repos

Link to this section Functions

Link to this function

analyze(url, source)

View Source
analyze(String.t() | list(), String.t()) :: tuple()

analyze/2: returns the LowEndInsight report as JSON for multiple_repos

Returns Map.

Examples

  iex> {:ok, report} = AnalyzerModule.analyze(["https://github.com/kitplummer/xmpp4rails","https://github.com/kitplummer/lita-cron"], "iex")
  iex> _count = report[:metadata][:repo_count]
  2