Feature: SOFIA-local accounts with login (with optional 2fa) #3059
Annotations
10 errors and 9 warnings
Lint:
app/controllers/callbacks_controller.rb#L13
Metrics/AbcSize: Assignment Branch Condition size for identity is too high. [<3, 32, 12> 34.31/17] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
|
Lint:
app/controllers/callbacks_controller.rb#L13
Metrics/CyclomaticComplexity: Cyclomatic complexity for identity is too high. [10/7]
|
Lint:
app/controllers/callbacks_controller.rb#L13
Metrics/MethodLength: Method has too many lines. [25/10] (https://rubystyle.guide#short-methods)
|
Lint:
app/controllers/callbacks_controller.rb#L13
Metrics/PerceivedComplexity: Perceived complexity for identity is too high. [13/8]
|
Lint:
app/controllers/callbacks_controller.rb#L28
Metrics/BlockNesting: Avoid more than 3 levels of block nesting. (https://rubystyle.guide#three-is-the-number-thou-shalt-count)
|
Lint:
app/controllers/callbacks_controller.rb#L40
Layout/LineLength: Line is too long. [229/140] (https://rubystyle.guide#max-line-length)
|
Lint:
app/controllers/callbacks_controller.rb#L56
[Correctable] Style/HashSyntax: Omit the hash value. (https://rubystyle.guide#hash-literals)
|
Lint:
app/controllers/sofia_accounts_controller.rb#L1
Metrics/ClassLength: Class has too many lines. [172/100]
|
Lint:
app/controllers/sofia_accounts_controller.rb#L10
Metrics/AbcSize: Assignment Branch Condition size for create is too high. [<11, 61, 13> 63.33/17] (http://c2.com/cgi/wiki?AbcMetric, https://en.wikipedia.org/wiki/ABC_Software_Metric)
|
Lint:
app/controllers/sofia_accounts_controller.rb#L10
Metrics/CyclomaticComplexity: Cyclomatic complexity for create is too high. [13/7]
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint:
app/controllers/sofia_accounts_controller.rb#L71
Lint/UselessAssignment: Useless assignment to variable - e. (https://rubystyle.guide#underscore-unused-vars)
|
Lint:
app/controllers/sofia_accounts_controller.rb#L91
Lint/UselessAssignment: Useless assignment to variable - e. (https://rubystyle.guide#underscore-unused-vars)
|
Lint:
app/models/user.rb#L40
Lint/UselessAssignment: Useless assignment to variable - a. (https://rubystyle.guide#underscore-unused-vars)
|
Lint:
spec/controllers/sofia_accounts_controller/activate_account_spec.rb#L45
Lint/UselessAssignment: Useless assignment to variable - request_params. (https://rubystyle.guide#underscore-unused-vars)
|
Lint:
spec/controllers/sofia_accounts_controller/activate_account_spec.rb#L56
Lint/UselessAssignment: Useless assignment to variable - request_params. (https://rubystyle.guide#underscore-unused-vars)
|
Lint:
spec/mailers/previews/user_mailer_preview.rb#L10
Lint/UselessAssignment: Useless assignment to variable - sofia_account. (https://rubystyle.guide#underscore-unused-vars)
|
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
app
|
1.07 GB |
|
coverage
|
17.1 KB |
|
csvalpha~sofia~C902QO.dockerbuild
|
159 KB |
|