Refractor json api resources to grapiti #1824
Annotations
10 errors
|
app/resources/v1/form/closed_question_option_resource.rb#L16
[Correctable] Style/IfUnlessModifier: Favor modifier if usage when having a single-line body. Another good alternative is the usage of control flow &&/||. (https://rubystyle.guide#if-as-a-modifier)
|
|
app/resources/v1/application_resource.rb#L20
[Correctable] Layout/TrailingWhitespace: Trailing whitespace detected. (https://rubystyle.guide#no-trailing-whitespace)
|
|
app/resources/v1/application_resource.rb#L17
Metrics/MethodLength: Method has too many lines. [16/10] (https://rubystyle.guide#short-methods)
|
|
app/resources/v1/application_resource.rb#L17
Metrics/CyclomaticComplexity: Cyclomatic complexity for searchable_fields is too high. [8/7]
|
|
app/resources/v1/application_resource.rb#L17
Metrics/AbcSize: Assignment Branch Condition size for searchable_fields is too high. [<9, 18, 7> 21.31/17] (https://wiki.c2.com/?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
|
|
app/controllers/v1/users_controller.rb#L35
Metrics/MethodLength: Method has too many lines. [15/10] (https://rubystyle.guide#short-methods)
|
|
app/controllers/v1/users_controller.rb#L35
Metrics/AbcSize: Assignment Branch Condition size for update is too high. [<3, 22, 5> 22.76/17] (https://wiki.c2.com/?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
|
|
app/controllers/v1/activities_controller.rb#L105
[Correctable] Layout/EmptyLinesAroundMethodBody: Extra empty line detected at method body end. (https://rubystyle.guide#empty-lines-around-bodies)
|
|
app/controllers/concerns/graphiti_crud.rb#L77
Style/StringConcatenation: Prefer string interpolation to string concatenation. (https://rubystyle.guide#string-interpolation)
|
|
Gemfile#L21
[Correctable] Bundler/OrderedGems: Gems should be sorted in an alphabetical order within their section of the Gemfile. Gem graphiti should appear before isbn_validation.
|
The logs for this run have expired and are no longer available.
Loading