fazibear/ex_ical

View on GitHub
lib/ex_ical/recurrence.ex

Summary

Maintainability
Test Coverage

Function is too complex (CC is 26, max is 9).
Open

  def add_recurring_events(events, end_date \\ DateTime.utc_now()) do
Severity: Major
Found in lib/ex_ical/recurrence.ex by credo

Function is too complex (CC is 26, max is 9).

Struct %Event{} found in @spec
Open

  @spec add_recurring_events([%Event{}])              :: [%Event{}]
Severity: Major
Found in lib/ex_ical/recurrence.ex by credo

Struct %Event{} found in @spec

Struct %Event{} found in @spec
Open

  @spec add_recurring_events([%Event{}], %DateTime{}) :: [%Event{}]
Severity: Major
Found in lib/ex_ical/recurrence.ex by credo

Struct %Event{} found in @spec

Struct %DateTime{} found in @spec
Open

  @spec add_recurring_events([%Event{}], %DateTime{}) :: [%Event{}]
Severity: Major
Found in lib/ex_ical/recurrence.ex by credo

Struct %DateTime{} found in @spec

Struct %Event{} found in @spec
Open

  @spec add_recurring_events([%Event{}])              :: [%Event{}]
Severity: Major
Found in lib/ex_ical/recurrence.ex by credo

Struct %Event{} found in @spec

Struct %Event{} found in @spec
Open

  @spec add_recurring_events([%Event{}], %DateTime{}) :: [%Event{}]
Severity: Major
Found in lib/ex_ical/recurrence.ex by credo

Struct %Event{} found in @spec

There are no issues that match your filters.

Category
Status