fazibear/ex_ical

View on GitHub

Showing 49 of 49 total issues

There is no whitespace around parentheses/brackets most of the time, but here there is.
Open

    {       "19690620Z",     date_match,  utc_tzmatch,      utc_tzmatch,},
Severity: Critical
Found in test/ex_ical/date_parser_test.exs by credo

There is no whitespace around parentheses/brackets most of the time, but here there is.

Struct %Event{} found in @spec
Open

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

Struct %Event{} found in @spec

There is no whitespace around parentheses/brackets most of the time, but here there is.
Open

    { "DTSTART;TZID=Europe/Berlin:19690620T201804", datetime_match, berlin_tzmatch,  berlin_tzmatch,},
Severity: Critical
Found in test/ex_ical_date_formats_test.exs by credo

There is no whitespace around parentheses/brackets most of the time, but here there is.

There is no whitespace around parentheses/brackets most of the time, but here there is.
Open

    {                   "DTSTART:19690620T201804Z", datetime_match,    utc_tzmatch,     utc_tzmatch,},
Severity: Critical
Found in test/ex_ical_date_formats_test.exs by credo

There is no whitespace around parentheses/brackets most of the time, but here there is.

There is no whitespace around parentheses/brackets most of the time, but here there is.
Open

    {                           "DTSTART:19690620",     date_match,    utc_tzmatch,     utc_tzmatch,},
Severity: Critical
Found in test/ex_ical_date_formats_test.exs by credo

There is no whitespace around parentheses/brackets most of the time, but here there is.

Struct %DateTime{} found in @spec
Open

  @spec by_range([%Event{}], %DateTime{}, %DateTime{}) :: [%Event{}]
Severity: Major
Found in lib/ex_ical.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.ex by credo

Struct %Event{} found in @spec

Struct %Event{} found in @spec
Open

  @spec parse(String.t) :: [%Event{}]
Severity: Major
Found in lib/ex_ical/parser.ex by credo

Struct %Event{} found in @spec

There is no whitespace around parentheses/brackets most of the time, but here there is.
Open

    {                    "DTSTART:19690620T201804", datetime_match,    utc_tzmatch, chicago_tzmatch,},
Severity: Critical
Found in test/ex_ical_date_formats_test.exs by credo

There is no whitespace around parentheses/brackets most of the time, but here there is.

Struct %Event{} found in @spec
Open

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

Struct %Event{} found in @spec

Space missing after comma
Open

    {                   "DTSTART:19690620T201804Z", datetime_match,    utc_tzmatch,     utc_tzmatch,},
Severity: Major
Found in test/ex_ical_date_formats_test.exs by credo

Space missing after comma

Struct %Event{} found in @spec
Open

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

Struct %Event{} found in @spec

Struct %Event{} found in @spec
Open

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

Struct %Event{} found in @spec

Space missing after comma
Open

    { "19690620T201804", datetime_match,  utc_tzmatch,  chicago_tzmatch,},
Severity: Major
Found in test/ex_ical/date_parser_test.exs by credo

Space missing after comma

Struct %Event{} found in @spec
Open

  @spec by_range([%Event{}], %DateTime{}, %DateTime{}) :: [%Event{}]
Severity: Major
Found in lib/ex_ical.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.ex by credo

Struct %DateTime{} found in @spec

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).

Space missing after comma
Open

    {                    "DTSTART:19690620T201804", datetime_match,    utc_tzmatch, chicago_tzmatch,},
Severity: Major
Found in test/ex_ical_date_formats_test.exs by credo

Space missing after comma

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 by_range([%Event{}], %DateTime{}, %DateTime{}) :: [%Event{}]
Severity: Major
Found in lib/ex_ical/utils.ex by credo

Struct %DateTime{} found in @spec

Severity
Category
Status
Source
Language