openSUSE/open-build-service

View on GitHub
Fix RuboCop offenses for Style/MultipleComparison and Performance/CollectionLiteralInLoop rules #66939
Rubhan Azeem authored 248ebdb6
complete00:00:39
1
git clone
2
codeclimate validate-config
View output
codeclimate validate-config
No errors or warnings found in .codeclimate.yml.
3
codeclimate prepare
View output
codeclimate prepare
4
builder pull-engines
View output
determining required images
5
structure
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
W, [2025-01-13T10:26:18.633786 #1]  WARN -- : Skipping src/api/app/models/configuration.rb due to CC::Parser::Client::HTTPError
W, [2025-01-13T10:26:18.633830 #1]  WARN -- : Response status: 422
W, [2025-01-13T10:26:19.156611 #1]  WARN -- : Skipping src/api/app/models/review.rb due to CC::Parser::Client::HTTPError
W, [2025-01-13T10:26:19.156650 #1]  WARN -- : Response status: 422
W, [2025-01-13T10:26:24.970447 #1]  WARN -- : Skipping src/api/app/components/reports_notice_component.rb due to CC::Parser::Client::HTTPError
W, [2025-01-13T10:26:24.970482 #1]  WARN -- : Response status: 422
W, [2025-01-13T10:26:26.027034 #1]  WARN -- : Skipping src/api/app/lib/suse/permission.rb due to CC::Parser::Client::HTTPError
W, [2025-01-13T10:26:26.027064 #1]  WARN -- : Response status: 422
W, [2025-01-13T10:26:26.228239 #1]  WARN -- : Skipping src/api/lib/templates/active_record/model/model.rb due to CC::Parser::Client::HTTPError
W, [2025-01-13T10:26:26.228270 #1]  WARN -- : Response status: 422
W, [2025-01-13T10:26:26.229800 #1]  WARN -- : Skipping src/api/lib/templates/rails/scaffold_controller/controller.rb due to CC::Parser::Client::HTTPError
W, [2025-01-13T10:26:26.229826 #1]  WARN -- : Response status: 422
6
duplication
View output
12
Parser process id: 12
codeclimate-parser socket not present
waiting 1s...
I, [2025-01-13T10:26:29.267850 #1]  INFO -- : Skipping file ./src/api/app/jobs/status_history_rescaler_job.rb due to exception (Racc::ParseError): ./src/api/app/jobs/status_history_rescaler_job.rb:7 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:29.429862 #1]  INFO -- : Skipping file ./src/api/app/jobs/old/consistency_check_job.rb due to exception (RubyParser::SyntaxError): Odd number (2) list for Hash. s(:array, s(:call, nil, :no_backend_write))

I, [2025-01-13T10:26:29.900454 #1]  INFO -- : Skipping file ./src/api/app/models/concerns/report_bug_url.rb due to exception (Racc::ParseError): ./src/api/app/models/concerns/report_bug_url.rb:23 :: parse error on value "]" (tRBRACK)

I, [2025-01-13T10:26:30.084104 #1]  INFO -- : Skipping file ./src/api/app/models/kiwi/image.rb due to exception (Racc::ParseError): ./src/api/app/models/kiwi/image.rb:24 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:30.289537 #1]  INFO -- : Skipping file ./src/api/app/models/event/request.rb due to exception (Racc::ParseError): ./src/api/app/models/event/request.rb:92 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:30.629323 #1]  INFO -- : Skipping file ./src/api/app/models/project_log_entry.rb due to exception (Racc::ParseError): ./src/api/app/models/project_log_entry.rb:5 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:31.239873 #1]  INFO -- : Skipping file ./src/api/app/models/issue_tracker.rb due to exception (Racc::ParseError): ./src/api/app/models/issue_tracker.rb:4 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:31.636002 #1]  INFO -- : Skipping file ./src/api/app/models/configuration.rb due to exception (Racc::ParseError): ./src/api/app/models/configuration.rb:9 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:31.973245 #1]  INFO -- : Skipping file ./src/api/app/models/review.rb due to exception (Racc::ParseError): ./src/api/app/models/review.rb:10 :: parse error on value "%i[" (error)

I, [2025-01-13T10:26:32.181263 #1]  INFO -- : Skipping file ./src/api/app/models/notification.rb due to exception (Racc::ParseError): ./src/api/app/models/notification.rb:5 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:32.205105 #1]  INFO -- : Skipping file ./src/api/app/models/bs_request.rb due to exception (Racc::ParseError): ./src/api/app/models/bs_request.rb:21 :: parse error on value "%i[" (error)

I, [2025-01-13T10:26:33.056333 #1]  INFO -- : Skipping file ./src/api/app/models/package.rb due to exception (Racc::ParseError): ./src/api/app/models/package.rb:18 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:33.500731 #1]  INFO -- : Skipping file ./src/api/app/helpers/webui/staging/workflow_helper.rb due to exception (Racc::ParseError): ./src/api/app/helpers/webui/staging/workflow_helper.rb:20 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:33.693209 #1]  INFO -- : Skipping file ./src/api/app/helpers/webui/package_helper.rb due to exception (Racc::ParseError): ./src/api/app/helpers/webui/package_helper.rb:4 :: parse error on value ":" (tSYMBEG)

I, [2025-01-13T10:26:33.842594 #1]  INFO -- : Skipping file ./src/api/app/helpers/webui/projects/status_helper.rb due to exception (Racc::ParseError): ./src/api/app/helpers/webui/projects/status_helper.rb:13 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:34.487821 #1]  INFO -- : Skipping file ./src/api/app/controllers/build_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/build_controller.rb:2 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:34.545656 #1]  INFO -- : Skipping file ./src/api/app/controllers/trigger_workflow_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/trigger_workflow_controller.rb:28 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:35.126961 #1]  INFO -- : Skipping file ./src/api/app/controllers/public_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/public_controller.rb:15 :: parse error on value "%i[" (error)

I, [2025-01-13T10:26:35.863497 #1]  INFO -- : Skipping file ./src/api/app/controllers/webui/search_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/webui/search_controller.rb:4 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:36.106410 #1]  INFO -- : Skipping file ./src/api/app/controllers/webui/request_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/webui/request_controller.rb:9 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:36.759948 #1]  INFO -- : Skipping file ./src/api/app/controllers/webui/requests/submissions_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/webui/requests/submissions_controller.rb:5 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:37.001593 #1]  INFO -- : Skipping file ./src/api/app/controllers/webui/feeds_controller.rb due to exception (Racc::ParseError): ./src/api/app/controllers/webui/feeds_controller.rb:5 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:37.352161 #1]  INFO -- : Skipping file ./src/api/app/mixins/build_log_support.rb due to exception (Racc::ParseError): ./src/api/app/mixins/build_log_support.rb:11 :: parse error on value ":" (tCOLON)

I, [2025-01-13T10:26:37.482500 #1]  INFO -- : Skipping file src/api/app/components/reports_notice_component.rb due to exception (Racc::ParseError): src/api/app/components/reports_notice_component.rb:4 :: parse error on value ":" (tSYMBEG)

I, [2025-01-13T10:26:37.524288 #1]  INFO -- : Skipping file src/api/app/components/bs_request_comment_component.rb due to exception (Racc::ParseError): src/api/app/components/bs_request_comment_component.rb:8 :: parse error on value ":" (tSYMBEG)

I, [2025-01-13T10:26:37.547021 #1]  INFO -- : Skipping file src/api/app/components/diff_component.rb due to exception (Racc::ParseError): src/api/app/components/diff_component.rb:6 :: parse error on value ":" (tSYMBEG)

I, [2025-01-13T10:26:37.661245 #1]  INFO -- : Skipping file ./src/api/app/services/diff_parser.rb due to exception (Racc::ParseError): ./src/api/app/services/diff_parser.rb:4 :: parse error on value ":" (tSYMBEG)

I, [2025-01-13T10:26:37.878914 #1]  INFO -- : Skipping file ./src/api/app/services/package_service/schema_verifier.rb due to exception (Racc::ParseError): ./src/api/app/services/package_service/schema_verifier.rb:6 :: parse error on value ":" (tSYMBEG)

I, [2025-01-13T10:26:38.172318 #1]  INFO -- : Skipping file ./src/api/app/lib/backend/remember_location.rb due to exception (Racc::ParseError): ./src/api/app/lib/backend/remember_location.rb:12 :: parse error on value "**" (error)

I, [2025-01-13T10:26:38.409306 #1]  INFO -- : Skipping file ./src/api/app/lib/suse/permission.rb due to exception (Racc::ParseError): ./src/api/app/lib/suse/permission.rb:64 :: parse error on value ")" (tRPAREN)

I, [2025-01-13T10:26:38.516885 #1]  INFO -- : Skipping file ./src/api/lib/templates/rails/scaffold_controller/controller.rb due to exception (Racc::ParseError): ./src/api/lib/templates/rails/scaffold_controller/controller.rb:1 :: parse error on value "<" (tLT)

I, [2025-01-13T10:26:38.517001 #1]  INFO -- : Skipping file ./src/api/lib/templates/active_record/model/model.rb due to exception (Racc::ParseError): ./src/api/lib/templates/active_record/model/model.rb:1 :: parse error on value "<" (tLT)